CVE-2026-47344

TYPO3 HTML Sanitizer allows Cross-Site Scripting

Published Jun 8, 2026 CVSS 4.0 · 2.1 Low EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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

Source ID Title
Github GHSA Github GHSA GHSA-jvf5-rxvv-3mcg TYPO3 HTML Sanitizer allows Cross-site Scripting
History
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-436

    Interpretation Conflict

  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
TYPO3
Published
Updated
Jun 8, 2026, 7:50 PM
Reserved
May 19, 2026, 12:49 PM
Status
Deferred
Published
Jun 8, 2026, 8:17 PM
Modified
Jul 23, 2026, 8:10 AM