parse5-html-rewriting-stream 7.0.0 before 8.1.1 XSS via RewritingStream#emitText

State
Published
Severity
5.3 Medium
Published
Nov 19, 2026
Updated
Nov 24, 2026
Reserved
Nov 19, 2026

Read the record on cve.org

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.

ProductVersions
parse5 inikulin7.0.0 to before 8.1.1 Affected

Weaknesses

  • CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.