Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-3666

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

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-3666
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:50 UTC · Revision 1

Source evidence

CVE-2021-3666

core-osv · Original source

Published 13 Sept 2021, 18:15 UTC

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

osv:CVE-2021-3666
Complete source record
{
  "id": "b38f21a963c36b64899f9ef49a5394ca5c62d9239d73663ccc7239e9aa16ed88",
  "url": "https://osv.dev/vulnerability/CVE-2021-3666",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-3666",
    "summary": "body-parser-xml is vulnerable to Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')",
    "evidence": "osv:CVE-2021-3666",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2021-3666",
      "aliases": [
        "CVE-2021-3666",
        "GHSA-2ghc-6v89-pw9j"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/fiznool/body-parser-xml",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "85a8334449652d037090dd8d5c186b19128e40df"
                },
                {
                  "fixed": "d46ca622560f7c9a033cd9321c61e92558150d63"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:xml_body_parser_project:xml_body_parser:*:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.0.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "d46ca622560f7c9a033cd9321c61e92558150d63"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.0.2",
            "v2.0.1",
            "v2.0.0",
            "v1.1.0",
            "v1.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3666.json"
          }
        }
      ],
      "modified": "2026-10-20T10:54:48.442923372Z",
      "provider": "osv",
      "references": [
        "https://github.com/fiznool/body-parser-xml/commit/d46ca622560f7c9a033cd9321c61e92558150d63",
        "https://huntr.dev/bounties/1-other-fiznool/body-parser-xml"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-3666",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 386172,
  "published_at": "2021-09-13T18:15:25.167+00:00"
}