{"id":"CVE-2023-0842","aliases":["CLSA-2026-1773879452","CLSA-2026-1773879453","CLSA-2026-1773879454","CLSA-2026-1777336771","DEBIAN-CVE-2023-0842","DLA-3760-1","EUVD-2023-1222","GHSA-776f-qx25-q3cc","UBUNTU-CVE-2023-0842"],"status":"published","title":"xml2js 0.4.23 - Prototype Pollution","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.","severity":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.01392,"percentile":0.72576,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-1321"],"published":"2023-04-05T00:00:00Z","modified":"2026-10-28T02:30:54Z","fixes":[{"ecosystem":"npm","package":"xml2js","fixed_in":["0.5.0"],"sources":["ghsa","osv"]},{"ecosystem":"TuxCare:npm","package":"xml2js","fixed_in":["0.4.23-tuxcare.1","0.2.8-tuxcare.1","0.2.6-tuxcare.1","0.4.4-tuxcare.1"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"node-xml2js","fixed_in":["0.4.23+~cs15.4.0+dfsg-7"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"node-xml2js","fixed_in":["0.4.23+~cs15.4.0+dfsg-7"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"node-xml2js","fixed_in":["0.4.23+~cs15.4.0+dfsg-7"],"sources":["osv"]},{"ecosystem":"Debian:10","package":"node-xml2js","fixed_in":["0.2.8-1.1+deb11u1~deb10u1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"xml2js","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.0"}]}]},{"source":"osv","ecosystem":"TuxCare:npm","package":"xml2js","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.4.23-tuxcare.0"},{"fixed":"0.4.23-tuxcare.1"}]}],"versions":["0.4.23"]},{"source":"osv","ecosystem":"TuxCare:npm","package":"xml2js","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.2.8-tuxcare.0"},{"fixed":"0.2.8-tuxcare.1"}]}],"versions":["0.2.8"]},{"source":"osv","ecosystem":"TuxCare:npm","package":"xml2js","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.2.6-tuxcare.0"},{"fixed":"0.2.6-tuxcare.1"}]}],"versions":["0.2.6"]},{"source":"osv","ecosystem":"TuxCare:npm","package":"xml2js","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.4.4-tuxcare.0"},{"fixed":"0.4.4-tuxcare.1"}]}],"versions":["0.4.4"]},{"source":"osv","ecosystem":"Debian:12","package":"node-xml2js","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.4.23+~cs15.4.0+dfsg-7"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"node-xml2js","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.4.23+~cs15.4.0+dfsg-7"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"node-xml2js","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.4.23+~cs15.4.0+dfsg-7"}]}]},{"source":"osv","ecosystem":"Debian:10","package":"node-xml2js","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.2.8-1.1+deb11u1~deb10u1"}]}],"versions":["0.2.8-1","0.2.8-1.1"]},{"source":"osv","ecosystem":"npm","package":"xml2js","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.5.0"}]}]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"node-xml2js","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.2.8-1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"node-xml2js","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.2.8-1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"node-xml2js","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.2.8-1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"node-xml2js","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.2.8-1.1","0.4.23+~cs15.4.0+dfsg-2"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"node-xml2js","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.6.2+~cs15.1.1-1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"node-xml2js","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.6.2+~cs15.1.1-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"node-xml2js","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.6.2+~cs15.1.1-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"node-xml2js","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.6.2+~cs15.1.1-1"]}],"products":[{"vendor":"xml2js_project","product":"xml2js"}],"references":[{"url":"https://fluidattacks.com/advisories/myers/","tags":["third-party-advisory","x_transferred","Exploit","Third Party Advisory","advisory","report"]},{"url":"https://github.com/Leonidas-from-XIV/node-xml2js/","tags":["product","x_transferred","Product","web","report"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/03/msg00013.html","tags":["mailing-list","x_transferred","article","web"]},{"url":"https://github.com/Leonidas-from-XIV/node-xml2js/releases/tag/0.6.2","tags":["patch","fix"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-0842","tags":["advisory"]},{"url":"https://github.com/Leonidas-from-XIV/node-xml2js/issues/663","tags":["web","report"]},{"url":"https://github.com/Leonidas-from-XIV/node-xml2js/pull/603/commits/581b19a62d88f8a3c068b5a45f4542c2d6a495a5","tags":["web"]},{"url":"https://fluidattacks.com/advisories/myers","tags":["web"]},{"url":"https://github.com/Leonidas-from-XIV/node-xml2js","tags":["package"]},{"url":"https://github.com/advisories/GHSA-776f-qx25-q3cc"},{"url":"https://registry.npmjs.org","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/0xxx/CVE-2023-0842.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2023-0842","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2023-0842","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-0842","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2023-0842","title":"xml2js 0.4.23 - Prototype Pollution","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.","status":"published","published":"2023-04-05T00:00:00Z","modified":"2025-12-03T20:14:55.512Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium","assessor":"adp"}],"cwes":["CWE-1321"],"updated_at":"2026-11-02T14:35:34.923818Z"}],"euvd":[{"id":"EUVD-2023-1222","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.","status":"published","published":"2023-04-05T00:00:00Z","modified":"2025-12-03T20:14:55Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T19:49:10.321316Z"}],"ghsa":[{"id":"GHSA-776f-qx25-q3cc","title":"xml2js is vulnerable to prototype pollution","description":"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.","status":"published","published":"2023-04-05T21:30:24Z","modified":"2024-03-14T21:47:27Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium"}],"cwes":["CWE-1321"],"updated_at":"2026-11-02T14:37:40.81935Z"}],"nvd":[{"id":"CVE-2023-0842","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.","status":"published","published":"2023-04-05T20:15:07.493Z","modified":"2026-06-17T05:26:26.057Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium","assessor":"primary"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-1321"],"updated_at":"2026-11-02T14:07:53.719171Z"}],"osv":[{"id":"CVE-2023-0842","title":"xml2js 0.4.23 - Prototype Pollution","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.","status":"published","published":"2023-04-05T00:00:00Z","modified":"2026-10-28T02:30:54.062570387Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:29.487253Z"},{"id":"DEBIAN-CVE-2023-0842","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.","status":"published","published":"2023-04-05T20:15:07.493Z","modified":"2026-10-26T18:00:17.555198235Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:45:39.369204Z"},{"id":"GHSA-776f-qx25-q3cc","title":"xml2js is vulnerable to prototype pollution","description":"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.","status":"published","published":"2023-04-05T21:30:24Z","modified":"2025-02-13T22:08:55Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium"}],"cwes":["CWE-1321"],"updated_at":"2026-11-02T15:46:40.657155Z"},{"id":"UBUNTU-CVE-2023-0842","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.","status":"published","published":"2023-04-05T20:15:00Z","modified":"2026-10-17T12:56:03.621109641Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T16:54:18.756095Z"},{"id":"CLSA-2026-1773879452","title":"TuxCare security update for xml2js (1 CVE)","description":"TuxCare rebuilt xml2js to address 1 CVE. Fixed in 0.4.23-tuxcare.1.","status":"published","published":"2026-08-04T14:52:13Z","modified":"2026-10-15T09:47:46.953466327Z","updated_at":"2026-11-02T15:43:43.621843Z"},{"id":"CLSA-2026-1773879453","title":"TuxCare security update for xml2js (1 CVE)","description":"TuxCare rebuilt xml2js to address 1 CVE. Fixed in 0.2.8-tuxcare.1.","status":"published","published":"2026-08-04T14:52:13Z","modified":"2026-10-15T09:47:47.150240155Z","updated_at":"2026-11-02T15:43:43.621843Z"},{"id":"CLSA-2026-1773879454","title":"TuxCare security update for xml2js (1 CVE)","description":"TuxCare rebuilt xml2js to address 1 CVE. Fixed in 0.2.6-tuxcare.1.","status":"published","published":"2026-08-04T14:52:13Z","modified":"2026-10-15T09:47:47.157792485Z","updated_at":"2026-11-02T15:43:43.621843Z"},{"id":"CLSA-2026-1777336771","title":"TuxCare security update for xml2js (1 CVE)","description":"TuxCare rebuilt xml2js to address 1 CVE. Fixed in 0.4.4-tuxcare.1.","status":"published","published":"2026-08-04T14:52:29Z","modified":"2026-10-15T09:45:47.672206785Z","updated_at":"2026-11-02T15:43:44.384419Z"},{"id":"DLA-3760-1","title":"node-xml2js - security update","status":"published","published":"2024-03-14T00:00:00Z","modified":"2026-03-09T01:20:15.354897Z","updated_at":"2026-11-02T15:46:12.203458Z"}]}}
