Description
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 available yet. Followings are affected versions:
- <= 3.1.0
References
- GHSA-5p26-hw7f-3cpr
- hackerone.com
- www.npmjs.com
- CVE-2018-16481
- CWE-64
- CWE-79
- CAPEC-310
- OWASP 2021-A3
- OWASP 2021-A6
Related Issues
- DOMpurify has a nesting-based mXSS - CVE-2024-47875
- Path Traversal in simplehttpserver - CVE-2018-16478
- Path Traversal in http-server-node - CVE-2021-23797
- Prototype Pollution in just-extend - CVE-2018-16489
- Tags:
- npm
- html-pages
Anything's wrong? Let us know Last updated on September 12, 2023