GHSA-5p26-hw7f-3cpr

Suggest an improvement
Source
https://github.com/advisories/GHSA-5p26-hw7f-3cpr
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/02/GHSA-5p26-hw7f-3cpr/GHSA-5p26-hw7f-3cpr.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-5p26-hw7f-3cpr
Aliases
  • CVE-2018-16481
Published
2019-02-07T18:14:44Z
Modified
2023-11-08T04:00:00.435641Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
Cross-Site Scripting in html-pages
Details

All versions of html-pages are vulnerable to Cross-Site Scripting (XSS). The package fails to sanitize folder names, allowing attackers to execute arbitrary JavaScript in the victim's browser through folders with names containing malicious code.

Recommendation

No fix is currently available. Consider using an alternative package until a fix is made available.

Database specific
{
    "github_reviewed_at": "2020-06-16T21:16:48Z",
    "cwe_ids": [
        "CWE-64",
        "CWE-79"
    ],
    "nvd_published_at": null,
    "severity": "MODERATE",
    "github_reviewed": true
}
References

Affected packages

npm / html-pages

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
3.1.0