In short
- CVE-2023-0842 is a MEDIUM (CVSS 5.3) vulnerability affecting xml2js (xml2js project), xml2js.
- Chance of exploitation in the next 30 days (EPSS): 1.4%, higher than 72.5% of all vulnerabilities.
- Fix: update to 0.5.0 or later.
| Package | Affected versions | Patched versions |
|---|
| xml2js | = 0.4.23
| No fix yet |
| xml2js npm | < 0.5.0
| 0.5.0
|
Description
xml2js versions before 0.5.0 allows an external attacker to edit or add new properties to an object. This is possible because the application does not properly validate incoming JSON keys, thus allowing the __proto__ property to be edited.
NVD description
xml2js version 0.4.23 allows an external attacker to edit or add new properties to an object. This is possible because the application does not properly validate incoming JSON keys, thus allowing the __proto__ property to be edited.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free