ADVISORIES

Vulnerability

CVE-2023-0842

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.

5 advisories report this vulnerability, across 4 ecosystems.

Medium severity All Debian 2Red Hat 1Ubuntu 1npm 1

Advisories

  • DEBIAN-CVE-2023-0842

    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…

    CVE-2023-0842 Debian Updated 26 October 2026
  • DLA-3760-1

    node-xml2js - security update

    CVE-2023-0842 Debian Updated 20 November 2026
  • GHSA-776f-qx25-q3cc

    xml2js is vulnerable to prototype pollution

    Moderate CVE-2023-0842 npm Updated 13 February 2025
  • RHVEX-CVE-2023-0842

    node-xml2js: xml2js is vulnerable to prototype pollution

    Moderate CVE-2023-0842 Red Hat Updated 24 November 2026
  • UBUNTU-CVE-2023-0842

    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…

    CVE-2023-0842 Ubuntu Updated 17 October 2026

References