CVE-2023-0842
xml2js 0.4.23 - Prototype Pollution
- Published
- Updated
- Reserved
- Assigned by
- Fluid Attacks
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. CISA's SSVC rates its exploitation: a proof of concept is public.
Timeline
ID reserved
By Fluid Attacks
- 49 days later
· 49 days later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | Medium5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVDNVD · Modified | 3.1 | Medium5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
- EPSS (exploitation in 30 days)
- 1.4% · top 27% of all CVEs (7 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: yes · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.3.
Weakness
Affected products
xml2js
- affected 0.4.23
Affected packages
From reviewed advisories of the GitHub Advisory Database.
References (4)
- https://fluidattacks.com/advisories/myers/ (opens in a new tab)third-party-advisoryx_transferred
- https://github.com/Leonidas-from-XIV/node-xml2js/ (opens in a new tab)productx_transferred
- [debian-lts-announce] 20240314 [SECURITY] [DLA 3760-1] node-xml2js security update (opens in a new tab)mailing-listx_transferred
- https://github.com/Leonidas-from-XIV/node-xml2js/releases/tag/0.6.2 (opens in a new tab)patch
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-776f-qx25-q3cc (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2023-0842)Record last updated .