GHSA-5p26-hw7f-3cpr
GitHub Security Advisory
Cross-Site Scripting in html-pages
✓ GitHub Reviewed
MODERATE
Has CVE
Advisory 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.
Affected Packages
npm
html-pages
Affected versions:
0
(last affected: 3.1.0)
Related CVEs
Key Information
5.0
/10
Dataset
Last updated: July 1, 2025 6:26 AM
Data from GitHub Advisory Database. This information is provided for research and educational purposes.