Bug 2577004 (CVE-2026-133244)

Summary: CVE-2026-133244 parse5-html-rewriting-stream: parse5-html-rewriting-stream: Cross-site scripting via stale tag state during text escaping
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: dhanak, drosa, dsimansk, gmalinko, janstey, kingland, mnovotny, pdelbell, rstepani, sausingh, tmielke
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in parse5-html-rewriting-stream. This vulnerability allows a remote attacker to conduct cross-site scripting (XSS) attacks by bypassing HTML rewriting filters. The issue occurs because the stream rewriter relies on an outdated tag tracking state, improperly skipping the escaping of text that follows closed script or style elements. By submitting specially crafted entity-encoded markup, an attacker can cause unescaped content to be rendered, leading to the execution of arbitrary script in a user's web browser.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-11-19 16:02:27 UTC
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.