Description
Versions of validator prior to 2.0.0 contained an xss filter method that is affected by several filter bypasses. This may result in a cross-site scripting vulnerability.
Recommendation
Update the validator package to the latest compatible version. Followings are version details:
- Affected version(s): < 2.0.0
- Patched version(s): 2.0.0
References
- GHSA-79mx-88w7-8f7q
- www.npmjs.com
- www.openwall.com
- www.securityfocus.com
- CVE-2014-9772
- CWE-79
- CAPEC-310
- OWASP 2021-A3
- OWASP 2021-A6
Related Issues
- Parse Server has a stored XSS filter bypass via Content-Type MIME parameter and missing XML extension blocklist entries - CVE-2026-32728
- LiquidJS's strip_html filter bypass via newline characters in HTML tags enables XSS - CVE-2026-44644
- SCEditor has DOM XSS via emoticon URL/HTML injection - CVE-2026-25581
- Astro vulnerable to URL manipulation via headers, leading to middleware and CVE-2025-61925 bypass - CVE-2025-64525
You might also like:
- Tags:
- npm
- validator
Anything's wrong? Let us know Last updated on January 09, 2023


