{"id":"CVE-2026-133244","state":"PUBLISHED","title":"parse5-html-rewriting-stream 7.0.0 before 8.1.1 XSS via RewritingStream#emitText","description":"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.","publishedAt":"2026-11-19T15:52:13.673Z","updatedAt":"2026-11-19T15:52:13.673Z","severity":{"score":5.3,"label":"Medium","version":"4.0","vector":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["inikulin parse5"],"affected":[{"vendor":"inikulin","product":"parse5","packageURL":"pkg:npm/parse5-html-rewriting-stream","defaultStatus":"unaffected","versions":[{"version":"7.0.0","status":"affected","lessThan":"8.1.1","versionType":"semver"}],"repo":"https://github.com/inikulin/parse5"}],"references":["https://github.com/inikulin/parse5/releases/tag/v8.1.1","https://github.com/inikulin/parse5/pull/1921","https://github.com/inikulin/parse5/commit/e02abba4aa177b70a3a26cf90f6d62cd3ef8c44a","https://github.com/inikulin/parse5/blob/v8.1.0/packages/parse5-html-rewriting-stream/lib/index.ts#L137-L145","https://github.com/inikulin/parse5","https://www.vulncheck.com/advisories/parse5-html-rewriting-stream-7.0.0-before-8.1.1-xss-via-rewritingstream-emittext"],"weaknesses":["CWE-79"],"ingestedAt":"2026-11-19T15:56:06.226Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/133xxx/CVE-2026-133244.json","commit":"4c6c636b198e2f2847658f0dcbee6f356a23932d","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-133244","state":"PUBLISHED","datePublished":"2026-11-19T15:52:13.673Z","dateUpdated":"2026-11-19T15:52:13.673Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-11-19T15:40:59.503Z"},"containers":{"cna":{"title":"parse5-html-rewriting-stream 7.0.0 before 8.1.1 XSS via RewritingStream#emitText","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"inikulin","product":"parse5","packageURL":"pkg:npm/parse5-html-rewriting-stream","defaultStatus":"unaffected","versions":[{"version":"7.0.0","status":"affected","lessThan":"8.1.1","versionType":"semver"}],"repo":"https://github.com/inikulin/parse5"}],"references":[{"url":"https://github.com/inikulin/parse5/releases/tag/v8.1.1","tags":["release-notes"],"name":"parse5 v8.1.1 Release Notes"},{"url":"https://github.com/inikulin/parse5/pull/1921","tags":["issue-tracking","patch"]},{"url":"https://github.com/inikulin/parse5/commit/e02abba4aa177b70a3a26cf90f6d62cd3ef8c44a","tags":["patch"]},{"url":"https://github.com/inikulin/parse5/blob/v8.1.0/packages/parse5-html-rewriting-stream/lib/index.ts#L137-L145","tags":["technical-description"]},{"url":"https://github.com/inikulin/parse5","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/parse5-html-rewriting-stream-7.0.0-before-8.1.1-xss-via-rewritingstream-emittext","name":"VulnCheck Advisory: parse5-html-rewriting-stream 7.0.0 before 8.1.1 XSS via RewritingStream#emitText","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"LOW","subIntegrityImpact":"LOW","subAvailabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-11-19T15:52:13.673Z"},"datePublic":"2026-10-26T00:00:00.000Z","credits":[{"lang":"en","value":"Joshua Rogers","type":"finder"},{"lang":"en","value":"Anthropic","type":"finder"},{"lang":"en","value":"Felix Boehm","type":"remediation developer"}],"x_generator":{"engine":"vulncheck-endgame"}}}}}