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
- Cross-Site Scripting in connect - CVE-2018-3717
- Cross-site Scripting (XSS) - Stored in crud-file-server - CVE-2018-3726
- Json2html vulnerable to cross-site scripting - CVE-2018-25053
- metascraper before v5.2.0 vulnerable to stored cross-site scripting - CVE-2018-3773
You might also like:
- Tags:
- npm
- html-pages
Anything's wrong? Let us know Last updated on September 12, 2023


