Skip to main content

Symfony HtmlSanitizer CVE-2026-121373

| EUVDEUVD-2026-116909 MEDIUM
Overly Restrictive Regular Expression (CWE-186)
2026-11-04 596c5446-0ce5-4ba2-aa66-48b3b757a647
5.3
CVSS 4.0 · Vendor: 596c5446-0ce5-4ba2-aa66-48b3b757a647
View

Attack ChainAIDerived

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

  1. Access
    Craft meta refresh with whitespace/comma separator
  2. Delivery
    Submit as sanitized HTML content
  3. Exploit
    Regex misses directive, URL passed unchanged
  4. Execution
    Victim loads page, browser honors refresh
  5. Impact
    Redirect to attacker-controlled site

Vulnerability Assessment

Weakness
CWE
Exploitation Conditions

Exploitable only where the application runs Symfony HtmlSanitizer with a configuration that permits meta elements carrying http-equiv and content attributes - explicitly including the documented allowStaticElements() preset - and then renders the sanitized output to victims. The attacker must be able to supply the HTML content that passes through the sanitizer (e.g. stored/user-generated content). Trigger payloads are refresh directives using browser-valid grammar the old regex missed: an ASCII-whitespace separator with no ';'/','), an omitted 'url=' keyword, a comma separator, a fractional/empty-integer time, or the incomplete-'url=' quirk (e.g. '0;uhttps://evil.example/'). Limiting factors: configurations that do not allow meta http-equiv/content are unaffected; exploitation requires a victim to load the page for the browser refresh to fire (UI:P); and the impact is redirection to an untrusted host (or an otherwise-filtered javascript: URL), not direct compromise of the Symfony application.

Impact

This is a genuine but moderate-severity control-bypass, not a critical issue. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P, score 5.3) indicates a network-reachable, low-complexity flaw needing no privileges but requiring passive victim interaction (loading the sanitized page); impact is confined to the subsequent system (the victim's browser) as SC:L/SI:L with no impact on the Symfony application itself (VC:N/VI:N/VA:N). The vuln.today decision label is 'this_month' (not act_now/emergency), consistent with a medium-impact open redirect rather than a server-side compromise. No CISA KEV entry is present and no EPSS score was provided, so there is no signal of active or widespread exploitation; however, concrete bypass payloads are published directly in the GHSA advisory, so working proof-of-concept content is effectively public. The practical risk is bounded by reachability: it only affects applications that run HtmlSanitizer with meta http-equiv/content permitted (e.g. the allowStaticElements() preset), where it fully defeats allowLinkHosts and allowLinkSchemes for the refresh navigation and can even smuggle a javascript: refresh URL past UrlSanitizer. Note a conflicting signal in the metadata: the input Tags label this 'Authentication Bypass', but the advisory classifies it as CWE-186/CWE-601 (overly narrow regex leading to open redirect) - it is a URL-redirection/allow-list bypass, not an authentication bypass.

Exploit ScenarioDerived

An attacker submits user-controlled HTML (processed by a Symfony app that permits meta http-equiv/content, such as via allowStaticElements()) containing a refresh directive that uses a browser-valid but regex-missed spelling, e.g. '0 url=https://evil.example/', '0;https://evil.example/', or '9 , https://evil.example/'. The sanitizer's narrow regex fails to match, returns the content attribute unchanged, and the URL never reaches UrlSanitizer, so when a victim loads the rendered page the browser auto-navigates to the attacker's site (phishing) or to a javascript: URL that would otherwise be filtered. Public PoC payloads demonstrating these bypasses are included in the GHSA-wm2w-4mgj-vw33 advisory.

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 04, 2026

URL-redirection defenses in Symfony HtmlSanitizer are bypassed by meta refresh directives written in browser-valid grammar that the component's regular expression does not recognize, so attacker-supplied content can navigate victims to untrusted hosts or to otherwise-filtered javascript: URLs that never reach UrlSanitizer. The flaw is an incomplete fix for CVE-2026-48761 and affects the standalone HtmlSanitizer component and the symfony/symfony monorepo at 6.1.x before 6.4.50, 7.x before 7.4.23 and 8.x before 8.1.11, and is reachable under any configuration permitting meta elements with http-equiv and content, including the documented allowStaticElements() preset. Unauthenticated remote attackers can deliver the payload but a victim must load the rendered page for the refresh to fire; there is no confirmed active exploitation (not listed in CISA KEV), and the upstream advisory and fix commit publish demonstration payloads that illustrate the bypass rather than verified standalone exploit code.

RemediationAI

Upgrade to the fixed releases: symfony/html-sanitizer and symfony/symfony 6.4.50, 7.4.23 or 8.1.11 (with the same change carried into 8.2), applying the patch commit 2d4c4fe36200858b91132a95076fff3d9de89d26 referenced from advisory GHSA-wm2w-4mgj-vw33. Where upgrading must wait, the only reliable compensating control is to stop permitting meta elements in the sanitizer configuration - notably by not using the allowStaticElements() preset, or by removing meta from the allowed elements - which eliminates the refresh vector entirely at the cost of stripping legitimate meta tags from sanitized output (charset, viewport, description and similar). Operators should also be aware that after patching, any meta content value beginning with a digit or a full stop is dropped, or rewritten as a relative URL when allowRelativeLinks() is enabled, because the sanitizer cannot distinguish a description-style value from an http-equiv="refresh" directive; this collateral is bounded to those values but may require content review. Because exploitation needs a victim to load the page containing the attacker-supplied markup, review any stored or user-generated HTML that flows through the sanitizer before rendering.

Affected VersionsENISA

symfony 7 <7.4.23
symfony 8 <8.1.11
symfony 6.1 <6.4.50

Affected Packages

euvd symfony fix: 6.4.50, 7.4.23, 8.1.11

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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

Technical ContextAI · show details

The issue sits in the MetaRefreshAttributeSanitizer added to the Symfony HtmlSanitizer component to address CVE-2026-48761. That sanitizer only rewrote a meta refresh URL when the content value matched /^(\s*\d+\s*[;,]\s*url\s*=\s*)(["\']?)(.+?)\2(\s*)$/i, which assumes an integer time, a semicolon or comma separator, and an explicit url= keyword. Browsers instead implement the WHATWG "shared declarative refresh steps", where the separator may be ASCII whitespace alone, the url= keyword is optional, the time may be fractional or have an empty integer part, and there is an incomplete-url= quirk (for example 0;uhttps://evil.example/). Values the browser honours but the regex misses are passed through unchanged, so the attacker URL never reaches UrlSanitizer and both allowLinkSchemes and allowLinkHosts are defeated for the refresh navigation; entity-encoded &#61; is decoded back to '=' by the HTML parser before the refresh algorithm runs, so a rewritten value still yields a valid directive. This maps to CWE-186 (overly restrictive regular expression) as the root-cause class, with CWE-601 (URL redirection to untrusted site) as the realised impact. Structurally, sanitizeAttribute() receives only the element name and attribute value and never sees http-equiv, so every meta content value must be treated alike; the upstream fix therefore parses the value per the WHATWG grammar and fails safe by dropping the attribute whenever a value looks like a refresh directive but cannot be resolved to a sanitized URL.

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 (596c5446-0ce5-4ba2-aa66-48b3b757a647) 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 4.7 MEDIUM

Attacker-supplied HTML is sanitized then rendered, needing no privileges; victim must load the page (UI:R); scope changes into the browser with only redirect-level integrity impact (I:L), no confidentiality/availability loss.

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

Primary rating from Vendor (596c5446-0ce5-4ba2-aa66-48b3b757a647).

CVSS VectorVendor: 596c5446-0ce5-4ba2-aa66-48b3b757a647

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

Lifecycle Timeline

2
Patch available
Nov 04, 2026 - 14:01 EUVD
CVE Published
Nov 04, 2026 - 13:17 cve.org
MEDIUM 5.3

DescriptionCVE.org

The Symfony HtmlSanitizer component MetaRefreshAttributeSanitizer, introduced to fix CVE-2026-48761, sanitizes the refresh URL of content attributes of meta tags using a regular expression that is too narrow, allowing sanitization to be bypassed, and resulting in potential URL redirection to untrusted sites in Symfony versions 6.1.x prior to 6.4.50, 7.x prior to 7.4.23, and 8.x prior to 8.1.11.

The shared declarative refresh steps in the WHATWG HTML Standard require a broader approach: the separator after the time may be ASCII whitespace alone, with no ; or ,, and the url= keyword is optional. Directives the browser honours, but the regular expression misses are returned unchanged, so the attacker URL skips UrlSanitizer entirely and both allowLinkSchemes and allowLinkHosts are defeated for the refresh navigation.

This is reachable under any configuration that allows meta with http-equiv and content, including the documented allowStaticElements() preset.

Threat Intelligence Overview

EPSS Score
0.5%
Top 58% exploitable
Prevalence
High
Symfony is a widely deployed enterprise PHP web framework
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0
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