CVE-2023-0842
published medium CVSS 3.1 · 5.3xml2js 0.4.23 - Prototype Pollution
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | node-xml2jsxml2js · 0.4.23 · Other versions: unaffected | Affected | Not stated | Fluid Attacks |
| Debian | buster | node-xml2js | Advisory build | 0.2.8-1.1+deb11u1~deb10u1 | DLA-3760-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | xml2js | 0.4.23 (affected)Default: unaffected | Fluid Attacks · cna |
Weaknesses
2- Prototype Pollution
- CWE-1321 CWE-1321 Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
References
4- https://fluidattacks.com/advisories/myers/
- https://github.com/Leonidas-from-XIV/node-xml2js/
- https://github.com/Leonidas-from-XIV/node-xml2js/releases/tag/0.6.2
- [debian-lts-announce] 20240314 [SECURITY] [DLA 3760-1] node-xml2js security update https://lists.debian.org/debian-lts-announce/2024/03/msg00013.html
Provider assertions
3Fluid Attacks · cna
xml2js 0.4.23 - Prototype Pollution
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1937c8659dbcba5ca33ca800278842cbbfd0b52c018f2d32ff9ef475216689b4
- Ingested
- 23 Sep 2026, 08:05:16 UTC
- Source record
- Official CVE record