GHSA-776f-qx25-q3cc
xml2js is vulnerable to prototype pollution
At a glance
- Published
- Updated
- CVE
- CVE-2023-0842
- CVSS_V3
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
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.
Affected packages
| Package | Versions |
|---|---|
| npm · xml2js | introduced 0, fixed 0.5.0 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-0842 ADVISORY
- https://github.com/Leonidas-from-XIV/node-xml2js/issues/663 WEB
- https://github.com/Leonidas-from-XIV/node-xml2js/pull/603/commits/581b19a62d88f8a3c068b5a45f4542c2d6a495a5 WEB
- https://fluidattacks.com/advisories/myers WEB
- https://github.com/Leonidas-from-XIV/node-xml2js PACKAGE
- https://lists.debian.org/debian-lts-announce/2024/03/msg00013.html WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |