Security mailing lists by PureSourceCode

CVE-2023-0842

MEDIUM 5.3CVSS 3.1

xml2js is vulnerable to prototype pollution

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.

Published
5 Apr 2023
Last modified
17 Jun 2026
Assigned by
help@fluidattacks.com
NVD status
Modified
Weakness
CWE-1321
Also known as
GHSA-776f-qx25-q3cc
Sources
NVDJSONOSV GHSA-776f-qx25-q3ccJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD xml2js_project xml2js
cpe:2.3:a:xml2js_project:xml2js:0.4.23:*:*:*:*:*:*:*
= 0.4.23
OSV npm xml2js < 0.5.0 0.5.0

References

History

  • 25 Nov 2026 20:36 UTC · NVD: first stored (published 5 Apr 2023)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 5 Apr 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.