Vulnerability DatabaseGHSA-2ggq-vfcp-gwhj

GHSA-2ggq-vfcp-gwhj
JavaScript vulnerability analysis and mitigation

Overview

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).

Technical details

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).

Impact

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).

Exploitability

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).

Mitigation and workarounds

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).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-54155HIGH7.7
  • JavaScript logoJavaScript
  • node-opcua
NoNoAug 20, 2026
CVE-2026-54156HIGH7.5
  • JavaScript logoJavaScript
  • node-opcua
NoYesAug 20, 2026
CVE-2026-55451MEDIUM6.9
  • JavaScript logoJavaScript
  • gettext-converter
NoYesAug 20, 2026
CVE-2026-54150MEDIUM6.9
  • JavaScript logoJavaScript
  • next-video
NoYesAug 20, 2026
GHSA-ghvf-qf6h-g8x5HIGHN/A
  • JavaScript logoJavaScript
  • @nocobase/server
NoYesAug 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management