CVE-2013-7451 Moderate severity vulnerability that affects validator
Remote attackers can bypass the XSS filter in the Node.js validator module by using nested tags, potentially allowing script injection.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2013-7451?
CVE-2013-7451 is a medium-severity cross-site scripting vulnerability in Nodejs Node.js, published on 23 Jan 2017. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
The validator module before 1.1.0 for Node.js allows remote attackers to bypass the XSS filter via a nested tag.
Weakness: CWE-79
Which versions are affected by CVE-2013-7451?
2 open source packages ship an affected version, including validator. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
validator npm | All versions | 1.1.0 |
validator npm | All versions | 1.1.0 |
Products include Nodejs Node.js.
How do I fix CVE-2013-7451?
Upgrade validator to 1.1.0 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2013-7451 being exploited?
There is no known exploitation of CVE-2013-7451 in the wild and no public exploit code.
Other vulnerabilities in Nodejs Node.js
Sources
Also known as GHSA-qpjp-7rp2-9c3f.