Denial of service in Masterminds html5-php parse-error tracking
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-407.
Summary
Masterminds html5-php before 2.12.0 is affected. Its parse-error position tracking in Tokenizer::parseError uses an inefficient algorithm (CWE-407) that repeatedly rescans the full input buffer. A remote attacker can submit small HTML documents that consume seconds of CPU per document.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
Description from the CNA
Masterminds html5-php before 2.12.0 contains a denial of service vulnerability that allows remote attackers to exhaust CPU through quadratic parse-error position tracking in Tokenizer::parseError. Attackers can submit small HTML documents with repeated '&;' sequences that trigger full-buffer rescans in Scanner::currentLine and Scanner::columnOffset, consuming seconds of CPU per document.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Masterminds | html5-php | before 2.12.0 | 2.12.0 | Patch available | CNA |
- html5-php VendorMasterminds Affected before 2.12.0 Fixed in 2.12.0 Patch available CNA
Remediation
Upgrade Masterminds html5-php to version 2.12.0, which fixes this flaw.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
- Fix · CNA html5-php (Masterminds) Fixed in 2.12.0
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
Masterminds html5-php — GitHub Security Advisory (GHSA-pj59-fvjc-74pp)
3 records Highest priority Priority LOW 3 LOW
Other records, highest priority first
- TI-2026-104166 Cross-site scripting in Masterminds html5-php xmlns attributesPriority LOW 27
- TI-2026-104167 Cross-site scripting in Masterminds html5-php via UTF-8 byte removalPriority LOW 9
Vendor assessments
Timeline
- 2026-12-04 Threatist record created from CVE-2026-144957
- 2026-12-04 CISA SSVC decision points changed
- 2026-12-04 Alias added: GHSA-q235-vh3c-vxg7
- 2026-12-04 Affected versions changed · Red Hat
- 2026-12-04 CVSS score added · Red Hat
References
More Masterminds vulnerabilities
- TI-2026-104166 Cross-site scripting in Masterminds html5-php xmlns attributes CVSS 4.0LOW 2.3
- TI-2026-104167 Cross-site scripting in Masterminds html5-php via UTF-8 byte removal CVSS 4.0LOW 2.3
Sources
- CVE-2026-144957 · CVE Program
- CVE-2026-144957 · NVD
- GHSA-q235-vh3c-vxg7 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-144957 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences