CVE-2026-144957: Masterminds html5-php · Inefficient Algorithmic Complexity
Affects Masterminds html5-phpSource CVE Database V5
Not known to be exploited · CVSS 6.9 Medium : upgrade to 2.12.0 when convenient.
Data as of 4 Dec 2026, 15:14 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 6.9 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 5.3 |
- Patch
- Available – fixed in 2.12.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 4 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 4 Dec 2026.
What to do
Upgrade Masterminds html5-php to 2.12.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Mastermindshtml5-php | Affected
| Fixed in
|
Packagisthtml5-phppkg:composer/html5-phpOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade to Masterminds html5-php version 2.12.0 or later, where this vulnerability is fixed. No other mitigation or workaround is documented.
Description
Masterminds html5-php versions before 2.12.0 have a denial of service vulnerability caused by inefficient algorithmic complexity in the Tokenizer::parseError function. Remote attackers can exploit this by submitting small HTML documents containing repeated '&;' sequences, which trigger quadratic parse-error position tracking and cause excessive CPU consumption. This vulnerability is fixed in version 2.12.0.
References
- github.com/Masterminds/html5-php/security/advisories/GHSA-pj59-fvjc-74pp (opens in a new tab)
- github.com/Masterminds/html5-php/commit/c99252152ca8b1bdc821181d17a1f2c98e9fba1b (opens in a new tab)
- github.com/Masterminds/html5-php/releases/tag/2.12.0 (opens in a new tab)
- github.com/Masterminds/html5-php/blob/2.11.0/src/HTML5/Parser/Scanner.php (opens in a new tab)
- github.com/Masterminds/html5-php/blob/2.11.0/src/HTML5/Parser/Tokenizer.php (opens in a new tab)
- vulncheck.com/advisories/masterminds-html5-php-before-2.12.0-cpu-exhaustion-via-parse-error-position-tracking (opens in a new tab)