{"id":"CVE-2023-0842","aliases":["CVE-2023-0842","GHSA-776f-qx25-q3cc"],"related":[],"kind":"vulnerability","state":"published","title":"xml2js 0.4.23 - Prototype Pollution","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"}],"published":"2023-04-05T00:00:00.000Z","modified":"2026-06-17T05:26:26.057Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-1321"],"affected":[{"ranges":[{"version":"0.4.23","status":"affected"}],"product":"xml2js","package":"node-xml2js","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.5.0"}],"ecosystem":"npm","package":"xml2js","purl":"pkg:npm/xml2js","source":"ghsa"},{"ranges":[{"status":"affected","version":"0.4.23"}],"vendor":"xml2js_project","product":"xml2js","cpe":"cpe:2.3:a:xml2js_project:xml2js:0.4.23:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://fluidattacks.com/advisories/myers/","tags":["exploit","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/Leonidas-from-XIV/node-xml2js/","tags":["product","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/03/msg00013.html","tags":["mailing-list","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/Leonidas-from-XIV/node-xml2js/releases/tag/0.6.2","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-0842","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/Leonidas-from-XIV/node-xml2js/issues/663","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/Leonidas-from-XIV/node-xml2js/pull/603/commits/581b19a62d88f8a3c068b5a45f4542c2d6a495a5","tags":["web"],"sources":["ghsa"]},{"url":"https://fluidattacks.com/advisories/myers","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/Leonidas-from-XIV/node-xml2js","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"Fluid Attacks","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2025-02-13T19:12:29.183Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-0842","url":"https://www.cve.org/CVERecord?id=CVE-2023-0842","licence":"CVE Terms of Use","modified":"2025-12-03T20:14:55.512Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-776f-qx25-q3cc","url":"https://github.com/advisories/GHSA-776f-qx25-q3cc","licence":"CC-BY-4.0","modified":"2025-02-13T22:08:55.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-0842","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-0842","licence":"Public domain","modified":"2026-06-17T05:26:26.057Z"}],"updatedAt":"2026-11-25T22:58:23.267Z","epss":{"score":0.01404,"percentile":0.73347,"date":"2026-12-01T12:00:22.000Z"}}