Description
When ALLOW_INSECURE_RAW_TEXT is enabled, whitespace-variant closing tags (e.g., </style\t>) are not recognized by the sanitizer but accepted by browsers as valid end tags, allowing subsequent content to escape sanitization. This allows bypassing the cross-site scripting prevention mechanism of typo3/html-sanitizer before version 2.3.2.
Published: 2026-06-08
Score: 2.1 Low
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability resides in TYPO3's HTML Sanitizer component. When the configuration option ALLOW_INSECURE_RAW_TEXT is activated, the sanitizer does not recognize whitespace‑variant closing tags such as </style >. Browsers, however, treat these tags as legitimate terminators and allow the following content to bypass the sanitization step. This flaw permits an attacker to inject malicious payloads into user‑generated content, which are then rendered by the browser as executable scripts, compromising confidentiality, integrity, or demonstrating forging of user input. The weakness is a classic cross‑site scripting flaw catalogued as CWE‑79 and a design flaw where insecure settings are tolerated, CWE‑436.

Affected Systems

This issue affects installations of the TYPO3 HTML Sanitizer component prior to version 2.3.2. Systems that rely on this package without updating or without disabling the ALLOW_INSECURE_RAW_TEXT option are vulnerable. The vulnerability is present in all releases of the component before the 2.3.2 security release, regardless of the TYPO3 core version that hosts it.

Risk and Exploitability

The CVSS score of 2.1 classifies the risk as low severity, and the EPSS score is not currently available. The flaw is not listed in the CISA KEV catalog, indicating no known exposure at a large scale. From the description, the likely attack vector involves an attacker inserting specially crafted content that contains whitespace‑variant closing tags into input fields or content streams that are processed by the sanitizer. Because the vulnerability is contingent on the insecure configuration setting, it is most often exploitable in environments where configuration oversight has occurred or legacy code has hard‑coded the option.

Generated by OpenCVE AI on June 8, 2026 at 20:23 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade TYPO3 HTML Sanitizer to version 2.3.2 or later, which contains the sanitizer patch.
  • Ensure ALLOW_INSECURE_RAW_TEXT is disabled or removed from configuration files; never enable insecure raw text processing.
  • Conduct a thorough review of all input handling and sanitization logic in the application, validating that no legacy or custom content bypasses the updated sanitizer.

Generated by OpenCVE AI on June 8, 2026 at 20:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 08 Jun 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 08 Jun 2026 19:45:00 +0000

Type Values Removed Values Added
Description When ALLOW_INSECURE_RAW_TEXT is enabled, whitespace-variant closing tags (e.g., </style\t>) are not recognized by the sanitizer but accepted by browsers as valid end tags, allowing subsequent content to escape sanitization. This allows bypassing the cross-site scripting prevention mechanism of typo3/html-sanitizer before version 2.3.2.
Title TYPO3 HTML Sanitizer allows Cross-Site Scripting
First Time appeared Typo3
Typo3 html Sanitizer
Weaknesses CWE-436
CWE-79
CPEs cpe:2.3:a:typo3:html_sanitizer:*:*:*:*:*:*:*:*
Vendors & Products Typo3
Typo3 html Sanitizer
References
Metrics cvssV4_0

{'score': 2.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N'}


Subscriptions

Typo3 Html Sanitizer
cve-icon MITRE

Status: PUBLISHED

Assigner: TYPO3

Published:

Updated: 2026-06-08T19:50:47.479Z

Reserved: 2026-05-19T12:49:25.966Z

Link: CVE-2026-47344

cve-icon Vulnrichment

Updated: 2026-06-08T19:50:40.849Z

cve-icon NVD

Status : Received

Published: 2026-06-08T20:17:01.587

Modified: 2026-06-08T20:17:01.587

Link: CVE-2026-47344

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-08T20:30:06Z

Weaknesses