{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.1.3"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "a90ee0b5ac15fa1b300663d49d5b8b0d6f242d23"
            },
            {
              "fixed": "3bf8aaaf4dbb1c209dcb8d87a82711a54c1ab39a"
            }
          ],
          "repo": "https://github.com/ahmedadelfahim/express-xss-sanitizer",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "The package express-xss-sanitizer before 1.1.3 are vulnerable to Prototype Pollution via the allowedTags attribute, allowing the attacker to bypass xss sanitization.",
  "id": "CVE-2022-21169",
  "modified": "2026-03-13T21:51:35.520617066Z",
  "published": "2022-09-26T05:15:10.133Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://github.com/AhmedAdelFahim/express-xss-sanitizer/issues/4"
    },
    {
      "type": "FIX",
      "url": "https://github.com/AhmedAdelFahim/express-xss-sanitizer/commit/3bf8aaaf4dbb1c209dcb8d87a82711a54c1ab39a"
    },
    {
      "type": "FIX",
      "url": "https://runkit.com/embed/w306l6zfm7tu"
    },
    {
      "type": "EVIDENCE",
      "url": "https://security.snyk.io/vuln/SNYK-JS-EXPRESSXSSSANITIZER-3027443"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}