# CVE-2026-133244: parse5-html-rewriting-stream 7.0.0 before 8.1.1 XSS via RewritingStream#emitText

- Severity: Medium 5.3 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-01)
- Published: 2026-11-19T15:52:13.673Z
- Modified: 2026-11-24T04:17:25.807Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- inikulin parse5: from 7.0.0 before 8.1.1

## Every score

- VulnCheck: CVSS:4.0 5.3 Medium `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`
- VulnCheck: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/inikulin/parse5/releases/tag/v8.1.1> (release-notes)
- <https://github.com/inikulin/parse5/pull/1921> (issue-tracking, patch)
- <https://github.com/inikulin/parse5/commit/e02abba4aa177b70a3a26cf90f6d62cd3ef8c44a> (patch)
- <https://github.com/inikulin/parse5/blob/v8.1.0/packages/parse5-html-rewriting-stream/lib/index.ts#L137-L145> (technical-description)
- <https://github.com/inikulin/parse5> (product)
- <https://www.vulncheck.com/advisories/parse5-html-rewriting-stream-7.0.0-before-8.1.1-xss-via-rewritingstream-emittext> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-133244](https://www.cve.org/CVERecord?id=CVE-2026-133244), CVE Terms of Use, modified 2026-11-24
- NVD: [CVE-2026-133244](https://nvd.nist.gov/vuln/detail/CVE-2026-133244), Public domain, modified 2026-11-24

---

Page: https://cve.day/CVE-2026-133244 · Whole record: https://cve.day/CVE-2026-133244.json · Rebuilt by cve.day 2026-11-25T22:59:52.129Z
