{"id":"GHSA-2ggq-vfcp-gwhj","summary":"Cross-Site Scripting in @hapi/boom","details":"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.","modified":"2023-10-02T18:43:16Z","published":"2020-09-04T17:33:53Z","database_specific":{"github_reviewed_at":"2020-08-31T19:00:02Z","nvd_published_at":null,"cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"WEB","url":"https://github.com/hapijs/boom/commit/0f8640bdba65aec6e6799bfc16ff5753150bfcaf"},{"type":"PACKAGE","url":"https://github.com/hapijs/boom"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-HAPIBOOM-541183"}],"affected":[{"package":{"name":"@hapi/boom","ecosystem":"npm","purl":"pkg:npm/%40hapi/boom"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.3.8"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-2ggq-vfcp-gwhj/GHSA-2ggq-vfcp-gwhj.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"}]}