GitHub Advisory Database
GHSA-5p26-hw7f-3cpr
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | html-pages | All versions up to and including 3.1.0 |