GHSA-2ggq-vfcp-gwhj

Suggest an improvement
Source
https://github.com/advisories/GHSA-2ggq-vfcp-gwhj
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-2ggq-vfcp-gwhj/GHSA-2ggq-vfcp-gwhj.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-2ggq-vfcp-gwhj
Published
2020-09-04T17:33:53Z
Modified
2023-10-02T18:43:16Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N CVSS Calculator
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.

Recommendation

Upgrade to version 0.3.8 or later.

Database specific
{
    "github_reviewed_at": "2020-08-31T19:00:02Z",
    "cwe_ids": [
        "CWE-79"
    ],
    "nvd_published_at": null,
    "severity": "MODERATE",
    "github_reviewed": true
}
References

Affected packages

npm / @hapi/boom

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.3.8