
Cloud Vulnerability DB
A community-led vulnerabilities database
The vulnerability (GHSA-2ggq-vfcp-gwhj) affects the @hapi/boom package, which is used for HTTP-friendly error objects within hapi. Discovered and disclosed on March 30, 2013, this Cross-Site Scripting (XSS) vulnerability affects versions prior to 0.3.8. The issue stems from the package's failure to properly escape error messages, potentially allowing attackers to execute arbitrary JavaScript in victims' browsers (GitHub Advisory, Snyk Report).
The vulnerability is classified as moderate severity with a CVSS score of 6.5. The CVSS metrics indicate a network attack vector with low complexity, requiring no privileges but necessitating user interaction. The scope is unchanged, with high confidentiality impact but no integrity or availability impact. The technical root cause involves the package's failure to properly output encode error messages, making it susceptible to XSS attacks (GitHub Advisory).
If exploited, this vulnerability could lead to the execution of malicious JavaScript code in users' browsers. The primary risk includes potential cookie theft, session hijacking, exposure of sensitive information, and access to privileged services and functionality. The vulnerability could also be used to deliver malware to affected systems (Snyk Report).
The vulnerability has a proof-of-concept or detailed explanation of how to exploit it, as indicated by Snyk's Exploit Maturity assessment. The attack requires user interaction and can be executed through the network vector, though specific details about real-world exploitations are not publicly documented (Snyk Report).
The recommended mitigation is to upgrade @hapi/boom to version 0.3.8 or higher. The fix involves properly escaping HTML markup in the response payload using Hoek.escapeHtml for error messages, as implemented in the security patch (GitHub Commit, GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."