Skip to content
Heist/ feed
Back to feed
High

Prototype Pollution

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-21169
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 01:07 UTC · Revision 1

Source evidence

Prototype Pollution

core-osv · Original source

Published 26 Sept 2022, 05:05 UTC

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.

osv:CVE-2022-21169
Complete source record
{
  "id": "7ed95462fcaf6e6a8b9ee1b89c9bfc30b8adb108ff4bdd2c1d1bd766e562eef7",
  "url": "https://osv.dev/vulnerability/CVE-2022-21169",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Prototype Pollution",
    "summary": "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.",
    "evidence": "osv:CVE-2022-21169",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2022-21169",
      "aliases": [
        "CVE-2022-21169",
        "GHSA-grjp-4jmr-mjcw"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/ahmedadelfahim/express-xss-sanitizer",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "a90ee0b5ac15fa1b300663d49d5b8b0d6f242d23"
                },
                {
                  "fixed": "3bf8aaaf4dbb1c209dcb8d87a82711a54c1ab39a"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:express_xss_sanitizer_project:express_xss_sanitizer:*:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.1.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "3bf8aaaf4dbb1c209dcb8d87a82711a54c1ab39a"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.1.2",
            "v1.1.1",
            "v1.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-21169.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:32.339807192Z",
      "provider": "osv",
      "references": [
        "https://runkit.com/embed/w306l6zfm7tu",
        "https://security.snyk.io/vuln/SNYK-JS-EXPRESSXSSSANITIZER-3027443",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/21xxx/CVE-2022-21169.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-21169",
        "https://github.com/AhmedAdelFahim/express-xss-sanitizer/issues/4",
        "https://github.com/AhmedAdelFahim/express-xss-sanitizer/commit/3bf8aaaf4dbb1c209dcb8d87a82711a54c1ab39a"
      ],
      "provider_metadata": {
        "cna_assigner": "snyk",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/21xxx/CVE-2022-21169.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-21169",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 499401,
  "published_at": "2022-09-26T05:05:11.2+00:00"
}