Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with low-privilege account
-
DeliverySubmit HTML payload with malicious xmlns: attribute value
-
ExploitSanitizer serializes namespace attribute without encoding
-
ExecutionVictim loads page with rendered content
-
ImpactInjected script executes in victim browser context
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The attacker must hold a low-privilege authenticated role that is permitted to submit HTML content processed by the typo3/html-sanitizer library (PR:L per CVSS). This is the primary gate: applications that do not expose HTML authoring to low-trust users are not reachable via this attack path. Additionally, passive user interaction (UI:P) is required - a separate victim must load the page containing the attacker's injected content. The bypass is specific to XML namespace attributes (xmlns:*); standard element and non-namespace attribute sanitization is unaffected. No special server-side configuration is required beyond the library being in use for HTML sanitization. Exploitation is limited to contexts where both conditions hold simultaneously: attacker write access to HTML content fields, and a victim who views the rendered output. |
| Impact | The CVSS 4.0 score of 5.1 (Medium) reflects a moderate but realistic risk profile. The vector AV:N/AC:L/AT:N/PR:L/UI:P indicates network-accessible exploitation with low complexity, but it requires low-privilege authenticated access and passive victim interaction - the victim must view the attacker-controlled, rendered content. SSVC assessment (Exploitation: none, Automatable: no, Technical Impact: partial) aligns with the CVSS score and confirms no observed active exploitation. The vulnerability is not listed in CISA KEV. Despite the library's XSS-prevention purpose making a bypass particularly impactful in principle, the real-world risk is bounded by the PR:L requirement (the attacker must have some write access to submit content processed by the sanitizer) and UI:P (a victim must load the affected page). The SC:L/SI:L scope change correctly captures that the impact is on the victim's browser session, not the server. This is a genuine priority for applications that allow low-privilege users to submit HTML content sanitized by this library, but it is not an unauthenticated mass-exploitation scenario. |
| Exploit ScenarioDerived | An attacker with a low-privilege account on a TYPO3 CMS instance (e.g., an editor or registered user allowed to submit rich-text content) crafts a payload using an XML namespace attribute: |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 08, 2026
HTML serialization in typo3/html-sanitizer before version 2.3.2 fails to encode namespace attributes (xmlns:*), allowing an authenticated low-privilege attacker to inject unsanitized XSS payloads that execute in victims' browsers. The vulnerability bypasses the library's core XSS prevention purpose: crafted namespace attribute values containing raw HTML (e.g., onerror handlers) survive the sanitizer and render as executable markup. No public exploit has been independently identified at time of analysis, though the vendor-published commit includes a working test case demonstrating the exact bypass payload.
RemediationAI
Upgrade typo3/html-sanitizer to version 2.3.2 or later; this is the vendor-released patch confirmed by the TYPO3 security advisory at https://typo3.org/security/advisory/typo3-core-sa-2026-006 and the upstream fix commit at https://github.com/TYPO3/html-sanitizer/commit/8b5d0be44ded457ca993ec9ca93d859941c63764. For Composer-based projects, run composer update typo3/html-sanitizer. If an immediate upgrade is not possible, a targeted workaround is to restrict who can submit HTML content that passes through the sanitizer - elevating the effective privilege threshold above PR:L reduces the attacker pool significantly. Disabling XML namespace handling at the application layer (if your use case does not require SVG or MathML namespace embedding) is another compensating control, though this may break legitimate content. There are no known generic WAF signatures that reliably block namespace-based XSS bypasses, so the patch is the only fully effective remediation.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in composer, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected component is the HTML serializer in typo3/html-sanitizer, a PHP library (cpe:2.3:a:typo3:html_sanitizer:*:*:*:*:*:*:*:*) used to sanitize user-supplied HTML before rendering. The root cause (CWE-79: Improper Neutralization of Input During Web Page Generation) lies in the namespaceAttrs() method of src/Serializer/Rules.php, which prior to the fix omitted proper HTML encoding of XML namespace attribute values during serialization. Namespace declarations (xmlns:prefix='...') are part of the XML/HTML5 serialization spec; their values are treated as plain attribute strings. The sanitizer was escaping element attributes but inadvertently skipping the encoding step for namespace nodes, so a value like "><img src=x onerror=alert(document.domain)> would be written back to the DOM unescaped. The fix overrides namespaceAttrs() to call $this->enc() on all namespace node values before emitting them, closing the bypass path.
Know when Typo3 gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Primary rating from Vendor (TYPO3) · only source for this CVE.
CVSS VectorVendor: TYPO3
Lifecycle Timeline
2DescriptionCVE.org
Namespace attributes are not encoded correctly during HTML serialization. This allows bypassing the cross-site scripting prevention mechanism of typo3/html-sanitizer before version 2.3.2.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
In TYPO3 installations with the "mediace" extension from version 7.6.2 and before version 7.6.5, it has been discovered
Server-side template injection in the TYPO3 'Powermail' extension lets an anonymous user submit Fluid template syntax th
Unrestricted File Upload vulnerability in the fileDenyPattern in sysext/core/Classes/Core/SystemEnvironmentBuilder.php i
Remote code execution in the TYPO3 'Content Element Selector' extension allows unauthenticated attackers to execute arbi
The frontend rendering component in TYPO3 4.5.x before 4.5.39, 4.6.x through 6.2.x before 6.2.9, and 7.x before 7.0.2, w
Broken referrer enforcement in TYPO3 CMS backend and Install Tool allows an attacker with JavaScript execution capabilit
Cross-site scripting (XSS) vulnerability in the Backend component in TYPO3 6.2.x before 6.2.19 allows remote attackers t
TYPO3 is a free and open source Content Management Framework released under the GNU General Public License. Rated medium
TYPO3 is an open source PHP based web content management system. Rated medium severity (CVSS 6.1), this vulnerability is
TYPO3 Fluid before versions 2.0.8, 2.1.7, 2.2.4, 2.3.7, 2.4.4, 2.5.11 and 2.6.10 is vulnerable to Cross-Site Scripting.
TYPO3 Fluid Engine (package `typo3fluid/fluid`) before versions 2.0.5, 2.1.4, 2.2.1, 2.3.5, 2.4.1, 2.5.5 or 2.6.1 is vul
svg.swf in TYPO3 6.2.0 to 6.2.38 ELTS and 7.0.0 to 7.1.0 could allow an unauthenticated, remote attacker to conduct a cr
EUVD-2026-35192
GHSA-p5j5-4j3q-8mq8
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB