Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft HTML with 0xFF-split script tag
-
DeliverySubmit through app's pre-parse byte filter
-
ExploitFilter misses mangled `<scr\xFFipt>` token
-
Executionhtml5-php deletes invalid byte, reforms `<script>`
-
PersistVictim renders sanitized output
-
ImpactInjected JavaScript executes in browser
Vulnerability Assessment
| Weakness |
CWE
|
| Exploitation Conditions | Exploitation requires a specific, non-default architecture: the application must (1) accept untrusted HTML, (2) rely on a RAW-BYTE / pre-parse tag filter (e.g. a regex blocking |
| Impact | This is a low-severity filter-bypass XSS, and every available signal agrees it is low priority rather than a high-CVSS-but-overrated issue - the rare case where the signals do not conflict. The vendor CVSS 4.0 score is 2.3 (Low): AV:N but AC:H, AT:P and UI:P, with only Low confidentiality/integrity impacts and no availability impact. There is no CISA KEV listing and no EPSS score was supplied, so there is no evidence of active or probabilistic exploitation; the vuln.today Decision label is 'monitor', the lowest urgency tier, consistent with these signals. Exploitation status is best described as no public working exploit identified at time of analysis: the GHSA advisory and the VulnCheck advisory describe the technique concretely (splitting |
| Exploit ScenarioDerived | An application sanitizes untrusted HTML by running a raw-byte regex/string filter to strip |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 04, 2026
Cross-site scripting in Masterminds HTML5-PHP up to and including 2.11.0 lets unauthenticated remote attackers slip script markup past byte-level tag filters, because UTF8Utils::convertToUTF8 deletes invalid UTF-8 sequences instead of substituting U+FFFD, so a token such as <scr\xFFipt> is silently collapsed into a real <script> element by the parser. Real-world exposure is narrow: the application must accept untrusted HTML, rely on a raw-byte pre-parse filter placed in front of the parser, and render the resulting markup to a victim, while applications that sanitize the DOM after parsing are explicitly unaffected. No public exploit identified at time of analysis, and the aggregated decision signals (vuln.today label 'monitor', low assessed severity) place this at low priority.
RemediationAI
Vendor-released patch: 2.12.0. Upgrade masterminds/html5 to 2.12.0 or later via Composer (composer require masterminds/html5:^2.12.0) and refresh the lock file so nested dependencies also resolve to the fixed release; the fix is commit c99252152ca8b1bdc821181d17a1f2c98e9fba1b, which replaces invalid UTF-8 sequences with U+FFFD rather than deleting them, and details are in https://github.com/Masterminds/html5-php/security/advisories/GHSA-pj59-fvjc-74pp and https://github.com/Masterminds/html5-php/releases/tag/2.12.0. Where upgrading is not immediately possible, the exposure is conditional rather than universal: the advisory states that this issue defeats a raw-byte tag filter placed in front of the parser, while applications that sanitize by walking the parsed DOM are not affected, so the actionable interim step is to stop relying on pre-parse byte matching (regex or WAF rules such as blocking '<script>') as the only defense on HTML that will be fed to html5-php, and to enforce sanitization on the parsed DOM tree instead - trading the low cost of a regex for the need to keep an HTML-aware sanitizer in the pipeline. Note that the same 2.12.0 release also fixes the accompanying quadratic parse-error CPU cost, unescaped xmlns:* serialization and the xmlNamespaces TypeError, so a single upgrade closes all four issues; for denial-of-service concerns in the interim, the advisory suggests capping input size before parsing.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
HTML5-PHP is a pure-PHP HTML5 parser and serializer used to build DOM trees from untrusted markup; the flaw class is CWE-182 (collapsing of data elements), a normalization mismatch between the library and the HTML specification. UTF8Utils::convertToUTF8 uses mb_substitute_character('none'), which drops malformed byte sequences such as 0xFF, 0xC0 and 0xFE rather than replacing them with the U+FFFD replacement character the HTML spec requires; the parser therefore reassembles <scr\xFFipt> as <script>. The security consequence exists only at the boundary with an upstream byte-level filter: a regex or WAF rule scanning the raw request body for the literal '<script>' sees the obfuscated form and passes it through, after which html5-php emits a genuine script element. Post-parse DOM sanitizers operate on the already-normalized tree and are therefore unaffected. This is one of four defects published together in GHSA-pj59-fvjc-74pp (the others being quadratic parse-error bookkeeping in Scanner::currentLine/columnOffset, unescaped xmlns:* serialization in OutputRules, and an uncaught TypeError with xmlNamespaces=true); the single commit c99252152ca8b1bdc821181d17a1f2c98e9fba1b addresses all of them, changing mb_substitute_character('none') to mb_substitute_character(0xFFFD) in src/HTML5/Parser/UTF8Utils.php. The published CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:N/UI:P) matches the independent CVSS 3.1 assessment: AC:H and AT:P encode dependence on that specific upstream-filter deployment, UI:P/UI:R reflects that a victim must load the rendered output, and there is no authentication requirement.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
AC:H because exploitation depends on a specific upstream raw-byte filter being present; UI:R as a victim must render output; S:C and C:L/I:L for stored/reflected XSS in the browser context.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-144254
GHSA-465w-m6hr-c933
NVD
CVE.org
Vulnrichment
Exploit-DB