CVE-2026-144958
Awaiting Analysis Awaiting Analysis - Queue

Cross-Site Scripting in Masterminds html5-php

Vulnerability report for CVE-2026-144958, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-04

Last updated on: 2026-12-04

Assigner: VulnCheck

Description

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 with an xmlns:x value containing a double quote to bypass DOM-walking sanitizers and inject script into output re-serialized with saveHTML.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-04
Last Modified
2026-12-04
Generated
2026-12-04
AI Q&A
2026-12-04
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
Masterminds html5-php From 0 (inc) to 2.12.0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

Masterminds html5-php before 2.12.0 has a cross-site scripting (XSS) vulnerability in OutputRules::namespaceAttrs. It writes xmlns:* namespace values into double-quoted attributes without proper escaping. Attackers can inject malicious HTML with an xmlns:x value containing a double quote to bypass sanitizers and inject scripts into output that is re-serialized with saveHTML.

Detection Guidance

This vulnerability is specific to the Masterminds html5-php library. To detect it, check if your system uses an affected version of the library (before 2.12.0). Inspect your project's composer.lock or package.json for the version. No direct network commands are applicable as this is a library-level issue.

Impact Analysis

This vulnerability allows attackers to inject malicious scripts into web pages processed by the library. If exploited, it could lead to theft of user sessions, defacement of websites, or delivery of malware to users visiting affected pages.

Compliance Impact

This XSS vulnerability could lead to unauthorized data access or modification, violating GDPR's integrity and confidentiality principles. For HIPAA, it may expose protected health information, risking compliance with security requirements for safeguarding patient data.

Mitigation Strategies

Upgrade the Masterminds html5-php library to version 2.12.0 or later. If you cannot upgrade immediately, review all user-supplied input that may be processed by the library to ensure no malicious xmlns:* attributes are included in HTML output.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-144958. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...