{"id":"GHSA-2ggq-vfcp-gwhj","aliases":["GHSA-2ggq-vfcp-gwhj"],"related":[],"kind":"vulnerability","state":"published","title":"Cross-Site Scripting in @hapi/boom","summary":"Versions of `@hapi/boom` prior to 0.3.8 are vulnerable to Cross-Site Scripting (XSS). The package fails to properly escape error messages, which may allow attackers to execute arbitrary JavaScript in a victim's browser.\n\n\n## Recommendation\n\nUpgrade to version 0.3.8 or later.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"Versions of `@hapi/boom` prior to 0.3.8 are vulnerable to Cross-Site Scripting (XSS). The package fails to properly escape error messages, which may allow attackers to execute arbitrary JavaScript in a victim's browser.\n\n\n## Recommendation\n\nUpgrade to version 0.3.8 or later.","format":"markdown","source":"ghsa"}],"published":"2020-09-04T17:33:53.000Z","modified":"2023-10-02T18:43:16.000Z","severity":{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.3.8"}],"ecosystem":"npm","package":"@hapi/boom","purl":"pkg:npm/%40hapi/boom","source":"ghsa"}],"references":[{"url":"https://github.com/hapijs/boom/commit/0f8640bdba65aec6e6799bfc16ff5753150bfcaf","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/hapijs/boom","tags":["package"],"sources":["ghsa"]},{"url":"https://snyk.io/vuln/SNYK-JS-HAPIBOOM-541183","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-2ggq-vfcp-gwhj","url":"https://github.com/advisories/GHSA-2ggq-vfcp-gwhj","licence":"CC-BY-4.0","modified":"2023-10-02T18:43:16.000Z"}],"updatedAt":"2026-11-25T22:56:43.613Z"}