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
- Joplin Vulnerable to Cross-site Scripting in Note Content - CVE-2018-1000534
- Cross-Site Scripting in html-janitor - CVE-2017-0931
- Bootstrap Cross-site Scripting vulnerability (GHSA-7mvr-5x2g-wfc8) 2 - CVE-2018-14042
- Bootstrap Cross-site Scripting vulnerability (GHSA-7mvr-5x2g-wfc8) - CVE-2018-14042
- Tags:
- npm
- html-pages
Anything's wrong? Let us know Last updated on September 12, 2023