Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › Vulnerabilities › Masterminds

Medium 6.9 3 CVEs Analysis

Masterminds html5-php: three flaws, one CPU-exhaustion DoS and two XSS, fixed in 2.12.0

NVD published three vulnerabilities in Masterminds html5-php before 2.12.0: a MEDIUM (CVSS 6.9) denial-of-service issue and two LOW (CVSS 2.3) cross-site scripting issues. The sources report no known exploitation and point to 2.12.0 as the fixed release.

What to look into

  • 3 vulnerabilities in Masterminds html5-php: 1 medium, 2 low (CVSS up to 6.9).
  • None of them is known to be exploited yet.
  • Start with CVE-2026-144957 (6.9 medium): 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. At… An attacker without an account can exploit this over the network, without any user action.
  • 3 of 3 can be attacked over the network without logging in, 1 of them without anyone clicking anything.
  • Kinds of flaws: Inefficient Algorithmic Complexity; Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
PHPVulnerabilitiesWeb

Key points

  • Three NVD records cover Masterminds html5-php versions before 2.12.0.
  • CVE-2026-144957 (MEDIUM, CVSS 6.9) is a CPU-exhaustion denial of service triggered by small crafted documents.
  • CVE-2026-144959 and CVE-2026-144958 (both LOW, CVSS 2.3) are XSS issues in UTF-8 handling and namespace attribute output.
  • The sources report no known exploitation and no workaround.

Overview

Three vulnerabilities were published together for Masterminds html5-php, and all three affect versions before 2.12.0. The records describe one denial-of-service flaw and two cross-site scripting (XSS) flaws.

The most severe issue

CVE-2026-144957 is rated MEDIUM with a CVSS score of 6.9. According to its record, a remote attacker can submit a small HTML document with repeated '&;' sequences. This forces full-buffer rescans through Tokenizer::parseError, Scanner::currentLine and Scanner::columnOffset, and the record says each such document can consume seconds of CPU time.

The XSS issues

Both XSS records are rated LOW with a CVSS score of 2.3. CVE-2026-144959 involves UTF8Utils::convertToUTF8, which deletes invalid UTF-8 bytes instead of replacing them with U+FFFD. The record says bytes such as 0xFF can split tags so that raw-byte tag filters miss them, letting script elements reach the rendered output.

CVE-2026-144958 involves OutputRules::namespaceAttrs, which writes xmlns: declaration values into double-quoted attributes without escaping. The record says an xmlns:x value containing a double-quote character can get past DOM-walking sanitizers, with script then appearing in output re-serialized with saveHTML.

What the records do not say

The sources do not describe any known exploitation. They give no workaround or detection method beyond the fixed version, 2.12.0.

What to do

  1. Upgrade Masterminds html5-php to version 2.12.0 or later, the fixed version named in all three records.

Our article about all 3 vulnerabilities, written with AI assistance from the official records listed below. Each CVE's page has its details.

The 3 vulnerabilities

  • CVE-2026-144957 6.9 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…
  • CVE-2026-144959 2.3 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 with bytes such as 0xFF t…
  • CVE-2026-144958 2.3 Masterminds html5-php before 2.12.0 contains a cross-site scripting vulnerability in OutputRules::namespaceAttrs, which writes xmlns: namespace declaration values into double-quoted attributes without escaping. Attackers can supply HTML wi…

Frequently asked questions

How many Masterminds html5-php vulnerabilities were published on December 4, 2026?

3 vulnerabilities: 1 medium, 2 low, with CVSS scores up to 6.9.

Are any of them being exploited?

None of them is in CISA's Known Exploited Vulnerabilities catalog yet.

Which one should be fixed first?

CVE-2026-144957 (CVSS 6.9): 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. At…

Original records