# CVE-2021-3666: Prototype Pollution in fiznool/body-parser-xml

- Severity: High 7.6 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.30%, higher than 71% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-09-13T17:56:50.000Z
- Modified: 2026-06-17T04:05:31.970Z
- Also known as: GHSA-2ghc-6v89-pw9j
- Weaknesses: CWE-915, CWE-1321
- Assigned by: @huntrdev

## Description

body-parser-xml is vulnerable to Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

(As written by CVE List.)

## Affected

- fiznool fiznool/body-parser-xml: from unspecified before 2.0.3
- body-parser-xml (npm): before 2.0.3
- xml_body_parser_project xml_body_parser: before 2.0.3

## Every score

- @huntrdev: CVSS:3.0 7.6 High `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H`
- GitHub: CVSS:3.0 7.6 High `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://huntr.dev/bounties/1-other-fiznool/body-parser-xml> (exploit, third-party-advisory, web)
- <https://github.com/fiznool/body-parser-xml/commit/d46ca622560f7c9a033cd9321c61e92558150d63> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-3666> (advisory)
- <https://github.com/fiznool/body-parser-xml> (package)

## Sources

- CVE List: [CVE-2021-3666](https://www.cve.org/CVERecord?id=CVE-2021-3666), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-2ghc-6v89-pw9j](https://github.com/advisories/GHSA-2ghc-6v89-pw9j), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2021-3666](https://nvd.nist.gov/vuln/detail/CVE-2021-3666), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-3666 · Whole record: https://cve.day/CVE-2021-3666.json · Rebuilt by cve.day 2026-11-25T22:58:03.914Z
