CVE-2023-0842

xml2js 0.4.23 - Prototype Pollution

Published Apr 5, 2023 CVSS 3.1 · 5.3 Medium EPSS 1.4% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3760-1 node-xml2js security update
EUVD EUVD EUVD-2023-1222 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.
Github GHSA Github GHSA GHSA-776f-qx25-q3cc xml2js is vulnerable to prototype pollution
History
Type Values Removed Values Added
Title node-xml2js: xml2js is vulnerable to prototype pollution xml2js 0.4.23 - Prototype Pollution
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
Fluid Attacks
Published
Updated
Dec 3, 2025, 8:14 PM
Reserved
Feb 15, 2023, 12:00 AM
Status
Modified
Published
Apr 5, 2023, 8:15 PM
Modified
Jun 17, 2026, 5:26 AM
Severity
Moderate
Public date
Apr 5, 2023, 12:00 AM