Skip to content
OpenAdvisories
Medium · 5.3 CVE-2023-0842 EUVD-2023-1222GHSA-776f-qx25-q3cc

xml2js 0.4.23 - Prototype Pollution

Published Apr 5, 2023 · Updated Dec 3, 2025 · 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.

Affected products

VendorProductAffectedFixed
— xml2js 0.4.23 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 node-xml2js 0.4.23+~cs15.4.0+dfsg-7 —
Debian 13 node-xml2js 0.4.23+~cs15.4.0+dfsg-7 —
Debian 12 node-xml2js 0.4.23+~cs15.4.0+dfsg-7 —
Debian 10 node-xml2js 0.2.8-1.1+deb11u1~deb10u1 DLA-3760-1
ReleasePackageFixed inAdvisory
Ubuntu 26.10 node-xml2js No fix yet —
Ubuntu 26.04 LTS node-xml2js No fix yet —
Ubuntu 25.10 node-xml2js No fix yet —
Ubuntu 24.04 LTS node-xml2js No fix yet —
Ubuntu 22.04 LTS node-xml2js No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS node-xml2js No fix yet —
Ubuntu 18.04 LTS node-xml2js No fix yet —
Ubuntu 16.04 LTS node-xml2js No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
npm xml2js < 0.5.0 0.5.0 GHSA-776f-qx25-q3cc

Advisories 2

References