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
- Path Traversal in html-pages - CVE-2018-3744
- metascraper before v5.2.0 vulnerable to stored cross-site scripting - CVE-2018-3773
- Cross-site Scripting (XSS) - Stored in crud-file-server - CVE-2018-3726
- Bootstrap Cross-site Scripting vulnerability (GHSA-pj7m-g53m-7638) - CVE-2018-14041
- Tags:
- npm
- html-pages
Anything's wrong? Let us know Last updated on September 12, 2023