Skip to main content

Symfony HtmlSanitizer CVE-2026-133756

| EUVDEUVD-2026-135181 MEDIUM
Overly Restrictive Regular Expression (CWE-186)
2026-11-25 Symfony
5.3
CVSS 4.0 · Vendor: Symfony
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft meta refresh with Unicode-space prefix
  2. Exploit
    Submit HTML to app using HtmlSanitizer
  3. Execution
    Sanitizer returns URL unchecked
  4. Impact
    Chromium browser redirects victim to attacker site

Vulnerability Assessment

Weakness
CWE
Exploitation Conditions

Exploitation requires that the consuming application has explicitly configured Symfony HtmlSanitizer to permit <meta> elements with their http-equiv and content attributes (for example via allowStaticElements()) and sanitizes head content with sanitizeFor('head', ...) - this is the same non-default configuration introduced by CVE-2026-121373, not a default sanitizer profile. The malicious content must place a vertical tab or one of the Chromium-skipped Unicode spaces (U+1680, U+2000-U+200A, U+2028, U+205F, U+3000) before the refresh time so the sanitizer returns the value unchecked. Successful redirect additionally requires the victim to render the sanitized output in a Chromium-based browser (UI:P); Firefox and Safari skip only ASCII whitespace and do not follow these directives, which materially limits the affected population. No authentication is required (PR:N), but the dependence on a specific opt-in configuration and a Chromium victim are the primary limiting factors.

Impact

This is a genuine but moderate-severity open-redirect bypass (CWE-186/CWE-601) in Symfony's HtmlSanitizer, an incomplete fix for CVE-2026-121373. The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N, score 5.3) is internally consistent with the mechanism: network-reachable, low complexity, no attacker privileges, but requiring victim interaction (UI:P) and producing no impact to the vulnerable system itself - only low confidentiality/integrity impact to a subsequent system (the victim's browser is redirected). No EPSS score and no SSVC automatable/technical-impact fields were supplied; no KEV listing and no POC field are present, so exploitation status is 'no public exploit identified at time of analysis' (the advisory does include a one-line demonstrative snippet, but that is not weaponized exploit code). The vuln.today decision label is 'this_month', not act_now/emergency, consistent with the moderate signals. A key limiting factor that tempers raw risk: exploitation only works against Chromium-based browsers and only when the application has explicitly opted into a non-default configuration that allows meta elements with http-equiv/content and sanitizes via sanitizeFor('head', ...). Firefox and Safari skip only ASCII whitespace and are not affected. Net: a real priority to patch for applications using that specific configuration, but not a widespread emergency.

Exploit ScenarioDerived

An attacker submits HTML containing a crafted <meta http-equiv="refresh"> directive whose refresh time is preceded by a vertical tab or a Unicode space (e.g. U+3000), such as content=" 0;url=https://evil.example/". An application that sanitizes this content with Symfony HtmlSanitizer configured to allow meta elements returns it unchanged, bypassing allowLinkHosts()/allowLinkSchemes(). A victim viewing the resulting page in a Chromium-based browser is silently redirected to the attacker's site for phishing. The advisory includes a demonstrative example reproducing the bypass; no weaponized public exploit is identified in the provided data.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 25, 2026

Open redirect in Symfony's HtmlSanitizer lets a crafted <meta http-equiv="refresh"> directive bypass the configured link host and scheme allow-lists. Applications that opt in to permitting meta elements with their http-equiv and content attributes (for example via allowStaticElements()) and sanitize head markup with sanitizeFor('head', ...) will pass the refresh value through unchecked when the refresh time is preceded by a vertical tab or by a Unicode space that Chromium skips, so a victim rendering the sanitized output in a Chromium-based browser is redirected to an attacker-chosen URL. Unauthenticated remote attackers can supply the payload but depend on the victim following the directive (UI:R); no public exploit identified at time of analysis, and the issue is an incomplete fix for CVE-2026-121373.

RemediationAI

Vendor-released patch: upgrade symfony/html-sanitizer and symfony/symfony to 6.4.51, 7.4.24 or 8.1.12 respectively, which makes the sanitizer skip controls, Unicode whitespace and invisible characters before the refresh time so the URL is validated against allowLinkHosts() and allowLinkSchemes(). The fix commit is https://github.com/symfony/symfony/commit/742095d04eba28da49bcd67f532e6b91ddefb476 (branch 6.4, forward-ported to 7.4, 8.1 and 8.2), and the advisories are https://symfony.com/cve-2026-133756 and https://github.com/symfony/symfony/security/advisories/GHSA-wccc-v7v7-gc54. Where upgrading is not immediately possible, remove the exposure by no longer allowing meta elements with their http-equiv and content attributes in the sanitizer configuration - i.e. stop relying on allowStaticElements() for these attributes - which prevents the unchecked refresh directive from being emitted at all; the trade-off is that legitimate meta refresh and other meta tags in sanitized content will be stripped, so only apply this where such markup is not required.

Affected VersionsENISA

symfony/html-sanitizer 7.0.0 <7.4.24
symfony/symfony 6.1.0 <6.4.51
symfony/html-sanitizer 8.0.0 <8.1.12
symfony/symfony 7.0.0 <7.4.24
symfony/symfony 8.0.0 <8.1.12
symfony/html-sanitizer 6.1.0 <6.4.51

Affected Packages

euvd symfony_html_sanitizer fix: 6.4.51, 7.4.24, 8.1.12
euvd symfony_symfony fix: 6.4.51, 7.4.24, 8.1.12

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is in Symfony's MetaRefreshAttributeSanitizer, which validates a meta refresh URL only when the content attribute begins with a refresh time; that time is matched by a regular expression that, since the fix for CVE-2026-121373, accepted only the ASCII whitespace of the HTML specification before the digits. The root cause class is CWE-186 (overly restrictive regular expression), which produces a CWE-601 open-redirect outcome: because Chromium additionally skips a vertical tab (0x0B) and the Unicode spaces U+1680, U+2000-U+200A, U+2028, U+205F and U+3000 before the time, content such as "\u{3000}0;url=https://evil.example/" did not match the time pattern and was returned unchanged, so its URL was never checked against allowLinkHosts() and allowLinkSchemes(). The vertical tab is a regression relative to the earlier expression, which matched it; the Unicode spaces were never handled. Firefox and Safari skip only ASCII whitespace in this position, so the same payload does not redirect there. The upstream fix replaces the leading-whitespace handling with a byte-oriented SKIPPABLE_CHARS_PATTERN covering controls, Unicode whitespace and invisible characters (U+0080-U+00A0, U+1680, U+180E, U+2000-U+200F, U+2028-U+202F, U+205F-U+206F, U+3000, U+FEFF), applied one character at a time so long values cannot make the pattern fail, and also tightens handling of quoted URLs in the remainder of the parser.

Know when Symfony 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

Vendor (Symfony) PRIMARY 5.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
vuln.today AI 6.1 MEDIUM

Network-delivered open redirect needing no privileges but requiring the victim to render the page (UI:R); scope changes to the victim's browser with only low confidentiality/integrity impact and no availability effect.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (Symfony).

CVSS VectorVendor: Symfony

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

DescriptionCVE.org

MetaRefreshAttributeSanitizer checks the URL of a <meta http-equiv="refresh"> directive only when its content starts with a refresh time. Since the fix for CVE-2026-121373, only the ASCII whitespace of the HTML specification could come before that time. Chromium-based browsers also skip a vertical tab and the Unicode spaces U+1680, U+2000 to U+200A, U+2028, U+205F and U+3000.

When the time followed one of these characters, the sanitizer returned the value unchanged. Its URL wasn't checked against allowLinkHosts() and allowLinkSchemes(), and Chromium followed it:

$sanitizer->sanitizeFor('head', "<meta http-equiv=\"refresh\" content=\"\u{3000}0;url=https://evil.example/\">"); // returned unchanged, and Chromium redirects to https://evil.example/

The vertical tab is a regression of the fix for CVE-2026-121373, since the expression used before matched it. The Unicode spaces have been accepted since the sanitizer of meta refresh directives exists.

This requires the configuration of CVE-2026-121373: meta elements allowed with their http-equiv and content attributes, for example with allowStaticElements(), and content sanitized with sanitizeFor('head', ...). Firefox and Safari skip only ASCII whitespace there.

The sanitizer now skips controls, Unicode whitespace and invisible characters before the time, so that it checks the URL of these directives too.

Threat Intelligence Overview

EPSS Score
0.5%
Top 62% exploitable
Prevalence
Medium
widely-used PHP framework component, but non-default opt-in sanitizer configuration required
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

27
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2015-4050 MEDIUM POC
4.3 Jun 02

FragmentListener in the HttpKernel component in Symfony 2.3.19 through 2.3.28, 2.4.9 through 2.4.10, 2.5.4 through 2.5.1

CVE-2019-10910 CRITICAL POC
9.8 May 16

In Symfony before 2.7.51, 2.8.x before 2.8.50, 3.x before 3.4.26, 4.x before 4.1.12, and 4.2.x before 4.2.7, when servic

CVE-2018-13818 CRITICAL POC
9.8 Jul 10

Twig before 2.4.4 allows Server-Side Template Injection (SSTI) via the search search_key parameter. Rated critical sever

CVE-2026-100872 HIGH POC
8.7 Sep 27

Insufficient verification of payment-claim state in the Sylius e-commerce platform (versions before 2.1.16 and 2.2.9) le

CVE-2026-100869 HIGH POC
8.2 Sep 27

Incorrect authorization in the Sylius Shop API lets anyone holding an order token submit arbitrary payment actions - mos

CVE-2025-64500 HIGH POC
7.3 Nov 12

Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Rated high severity (C

CVE-2026-24739 MEDIUM POC
6.3 Jan 28

Symfony versions up to 5.4.51 contains a vulnerability that allows attackers to operations being performed on an uninten

CVE-2018-12040 MEDIUM POC
6.1 Jun 13

Reflected Cross-site scripting (XSS) vulnerability in the web profiler in SensioLabs Symfony 3.3.6 allows remote attacke

CVE-2016-2403 CRITICAL
9.8 Feb 07

Symfony before 2.8.6 and 3.x before 3.0.6 allows remote attackers to bypass authentication by logging in with an empty p

CVE-2024-51736 CRITICAL
9.8 Nov 06

Symphony process is a module for the Symphony PHP framework which executes commands in sub-processes. Rated critical sev

CVE-2019-18889 CRITICAL
9.8 Nov 21

An issue was discovered in Symfony 3.4.0 through 3.4.34, 4.2.0 through 4.2.11, and 4.3.0 through 4.3.7. Rated critical s

CVE-2019-11325 CRITICAL
9.8 Nov 21

An issue was discovered in Symfony before 4.2.12 and 4.3.x before 4.3.8. Rated critical severity (CVSS 9.8), this vulner

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy