Bug 2590932 (CVE-2026-144959)

Summary: CVE-2026-144959 masterminds/html5: masterminds-html5: masterminds/html5: Cross-site scripting via improper handling of invalid UTF-8 bytes
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: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in masterminds/html5. A remote attacker can exploit this vulnerability by supplying input containing invalid UTF-8 byte sequences that are stripped during text processing instead of safely replaced. This permits malformed HTML tags to bypass raw-byte input filters, resulting in cross-site scripting (XSS) and allowing arbitrary script execution in a victim'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:
Bug Depends On: 2591117    
Bug Blocks:    

Description OSIDB Bzimport 2026-12-04 14:53:06 UTC
Masterminds html5-php before 2.12.0 contains a cross-site scripting vulnerability because UTF8Utils::convertToUTF8 deletes invalid UTF-8 bytes instead of replacing them with U+FFFD. Attackers can split tokens like <scr\xFFipt> with bytes such as 0xFF to evade raw-byte tag filters and inject script elements into rendered output.