{"id":"UBUNTU-CVE-2026-133244","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.","modified":"2026-11-25T17:45:51Z","published":"2026-11-19T16:21:00Z","upstream":["CVE-2026-133244"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-133244"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-133244"},{"type":"REPORT","url":"https://github.com/inikulin/parse5"},{"type":"REPORT","url":"https://github.com/inikulin/parse5/blob/v8.1.0/packages/parse5-html-rewriting-stream/lib/index.ts#L137-L145"},{"type":"REPORT","url":"https://github.com/inikulin/parse5/commit/e02abba4aa177b70a3a26cf90f6d62cd3ef8c44a"},{"type":"REPORT","url":"https://github.com/inikulin/parse5/pull/1921"},{"type":"REPORT","url":"https://github.com/inikulin/parse5/releases/tag/v8.1.1"},{"type":"REPORT","url":"https://www.vulncheck.com/advisories/parse5-html-rewriting-stream-7.0.0-before-8.1.1-xss-via-rewritingstream-emittext"}],"affected":[{"package":{"name":"node-parse5","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/node-parse5?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.1.2+dfsg-2"],"ecosystem_specific":{"binaries":[{"binary_name":"node-parse5","binary_version":"7.1.2+dfsg-2"},{"binary_name":"node-parse5-html-rewriting-stream","binary_version":"7.1.2+dfsg-2"},{"binary_version":"7.1.2+dfsg-2","binary_name":"node-parse5-htmlparser2-tree-adapter"},{"binary_name":"node-parse5-parser-stream","binary_version":"7.1.2+dfsg-2"},{"binary_version":"7.1.2+dfsg-2","binary_name":"node-parse5-plain-text-conversion-stream"},{"binary_version":"7.1.2+dfsg-2","binary_name":"node-parse5-sax-parser"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-133244.json"}},{"package":{"name":"node-parse5","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/node-parse5?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.1.2+dfsg-3","8.0.1+dfsg-3build3"],"ecosystem_specific":{"binaries":[{"binary_name":"node-parse5","binary_version":"8.0.1+dfsg-3build3"},{"binary_name":"node-parse5-html-rewriting-stream","binary_version":"8.0.1+dfsg-3build3"},{"binary_name":"node-parse5-htmlparser2-tree-adapter","binary_version":"8.0.1+dfsg-3build3"},{"binary_name":"node-parse5-parser-stream","binary_version":"8.0.1+dfsg-3build3"},{"binary_name":"node-parse5-plain-text-conversion-stream","binary_version":"8.0.1+dfsg-3build3"},{"binary_version":"8.0.1+dfsg-3build3","binary_name":"node-parse5-sax-parser"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-133244.json"}},{"package":{"name":"node-parse5","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/node-parse5?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.1.2+dfsg-3"],"ecosystem_specific":{"binaries":[{"binary_name":"node-parse5","binary_version":"7.1.2+dfsg-3"},{"binary_name":"node-parse5-html-rewriting-stream","binary_version":"7.1.2+dfsg-3"},{"binary_version":"7.1.2+dfsg-3","binary_name":"node-parse5-htmlparser2-tree-adapter"},{"binary_name":"node-parse5-parser-stream","binary_version":"7.1.2+dfsg-3"},{"binary_name":"node-parse5-plain-text-conversion-stream","binary_version":"7.1.2+dfsg-3"},{"binary_name":"node-parse5-sax-parser","binary_version":"7.1.2+dfsg-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-133244.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"CNA"},{"type":"CVSS_V4","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","source":"CNA"},{"type":"Ubuntu","score":"medium","source":"SELF"}]}