{"id":"CVE-2021-3666","aliases":["EUVD-2021-1949","GHSA-2ghc-6v89-pw9j"],"status":"published","title":"Prototype Pollution in fiznool/body-parser-xml","description":"body-parser-xml is vulnerable to Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')","severity":{"version":"3.0","score":7.6,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.01299,"percentile":0.70822,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-1321","CWE-915"],"published":"2021-09-13T17:56:50Z","modified":"2026-11-09T10:45:23Z","fixes":[{"ecosystem":"npm","package":"body-parser-xml","fixed_in":["2.0.3"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"body-parser-xml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.3"}]}]},{"source":"osv","ecosystem":"npm","package":"body-parser-xml","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.0.3"}]}]}],"products":[{"vendor":"fiznool","product":"fiznool/body-parser-xml"},{"vendor":"xml_body_parser_project","product":"xml_body_parser"}],"references":[{"url":"https://huntr.dev/bounties/1-other-fiznool/body-parser-xml","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://github.com/fiznool/body-parser-xml/commit/d46ca622560f7c9a033cd9321c61e92558150d63","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3666","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-2ghc-6v89-pw9j"},{"url":"https://github.com/fiznool/body-parser-xml","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2021-3666","title":"Prototype Pollution in fiznool/body-parser-xml","description":"body-parser-xml is vulnerable to Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')","status":"published","published":"2021-09-13T17:56:50Z","modified":"2024-08-03T17:01:08.323Z","cvss":[{"version":"3.0","score":7.6,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-1321"],"updated_at":"2026-11-02T14:33:04.020035Z"}],"euvd":[{"id":"EUVD-2021-1949","description":"body-parser-xml is vulnerable to Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')","status":"published","published":"2021-09-13T17:56:50Z","modified":"2024-08-03T17:01:08Z","cvss":[{"version":"3.0","score":7.6,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H","level":"high"}],"updated_at":"2026-11-03T03:25:11.953192Z"}],"ghsa":[{"id":"GHSA-2ghc-6v89-pw9j","title":"body-parser-xml vulnerable to Prototype Pollution","description":"body-parser-xml is vulnerable to Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution').","status":"published","published":"2021-09-14T20:25:35Z","modified":"2023-01-28T05:02:26Z","cvss":[{"version":"3.0","score":7.6,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H","level":"high"}],"cwes":["CWE-915","CWE-1321"],"updated_at":"2026-11-02T14:36:23.433782Z"}],"nvd":[{"id":"CVE-2021-3666","description":"body-parser-xml is vulnerable to Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')","status":"published","published":"2021-09-13T18:15:25.167Z","modified":"2026-06-17T04:05:31.97Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"3.0","score":7.6,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H","level":"high","assessor":"secondary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-1321"],"updated_at":"2026-11-02T14:06:58.502206Z"}],"osv":[{"id":"CVE-2021-3666","description":"body-parser-xml is vulnerable to Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')","status":"published","published":"2021-09-13T18:15:25.167Z","modified":"2026-11-10T02:45:47.44948654Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-09T10:53:57.550641Z"},{"id":"GHSA-2ghc-6v89-pw9j","title":"body-parser-xml vulnerable to Prototype Pollution","description":"body-parser-xml is vulnerable to Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution').","status":"published","published":"2021-09-14T20:25:35Z","modified":"2023-11-08T04:06:15.314099Z","cvss":[{"version":"3.0","score":7.6,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H","level":"high"}],"cwes":["CWE-1321","CWE-915"],"updated_at":"2026-11-02T15:46:34.338541Z"}]}}
