Skip to main content
CVE-2026-144959VulnerabilityPublished

Masterminds html5-php before 2.12.0 contains a cross-site scripting vulnerability because UTF8Utils::convertToUTF8

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-144959· Low 2.3

Not known to be exploited · CVSS 2.3 Low : upgrade to 2.12.0 when convenient.

Data as of 4 Dec 2026, 16:35 UTC

CVSS 4.0 base score
2.3Low
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (VulnCheck)CVSS 4.02.3
CNA (VulnCheck)CVSS 3.14.7
Patch
Available – fixed in 2.12.0
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 4 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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 html5-php to 2.12.0.

Affected software

ProductAffectedFixed in
Mastermindshtml5-phpAffected
  • <2.12.0
Fixed in
  • 2.12.0
Packagisthtml5-phppkg:composer/html5-phpOther threatsAffected
  • <2.12.0
Fixed in
  • 2.12.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in version 2.12.0 of Masterminds html5-php. Users should upgrade to version 2.12.0 or later to remediate this vulnerability. No other mitigation guidance is provided.

Description

Masterminds html5-php versions before 2.12.0 have a cross-site scripting (XSS) vulnerability due to improper handling of invalid UTF-8 bytes in the UTF8Utils::convertToUTF8 function. The function deletes invalid bytes instead of replacing them with the Unicode replacement character U+FFFD, allowing attackers to inject script elements by splitting tokens with invalid bytes to evade filters.

References

Community reviews

Loading reviews…