{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "7.0.0"
                  },
                  {
                    "fixed": "8.1.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "original_tag": "v8.1.1",
                "range": [
                  {
                    "fixed": "8eea616557e806822fea140df955f269fb0c51a1"
                  }
                ],
                "source": "REFERENCES_TAG"
              },
              {
                "range": [
                  {
                    "fixed": "e02abba4aa177b70a3a26cf90f6d62cd3ef8c44a"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "abec4c2be40f09dc4e3d0fd6a64eb10bbb24cca0"
            },
            {
              "fixed": "8eea616557e806822fea140df955f269fb0c51a1"
            },
            {
              "fixed": "e02abba4aa177b70a3a26cf90f6d62cd3ef8c44a"
            }
          ],
          "repo": "https://github.com/inikulin/parse5",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/133xxx/CVE-2026-133244.json"
  },
  "details": "parse5-html-rewriting-stream 7.0.0 before 8.1.1 contains a cross-site scripting vulnerability in RewritingStream#emitText, which skips escaping based on a stale lastStartTagName. Attackers can place entity-encoded markup after a closed script or style element to bypass RewritingStream-based filters and execute script in users' browsers.",
  "id": "CVE-2026-133244",
  "modified": "2026-11-19T16:45:33.176096337Z",
  "published": "2026-11-19T15:52:13.673Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/133xxx/CVE-2026-133244.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/inikulin/parse5"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/inikulin/parse5/blob/v8.1.0/packages/parse5-html-rewriting-stream/lib/index.ts#L137-L145"
    },
    {
      "type": "FIX",
      "url": "https://github.com/inikulin/parse5/commit/e02abba4aa177b70a3a26cf90f6d62cd3ef8c44a"
    },
    {
      "type": "FIX",
      "url": "https://github.com/inikulin/parse5/pull/1921"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/inikulin/parse5/releases/tag/v8.1.1"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-133244"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/parse5-html-rewriting-stream-7.0.0-before-8.1.1-xss-via-rewritingstream-emittext"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "parse5-html-rewriting-stream 7.0.0 before 8.1.1 XSS via RewritingStream#emitText"
}