Description
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.
Published: 2026-11-04
Score: 5.3 Medium
EPSS: n/a
KEV: No
Impact: Potential redirection to untrusted sites via meta refresh tags
Action: Apply patch
AI Analysis

Impact

Meta tags using the http-equiv="refresh" attribute are now subject to a sanitization bypass because the regular expression in Symfony's MetaRefreshAttributeSanitizer is too narrow. This allows an attacker to embed a URL that escapes the framework's UrlSanitizer and bypasses both allowLinkSchemes and allowLinkHosts, resulting in an unexpected redirection to an untrusted site. The weakness is a form of open redirect that can occur in any configuration that permits meta tags, including the documented allowStaticElements() preset.

Affected Systems

Vendors affected are SensioLabs' Symfony framework. All releases in the 6.1.x line before 6.4.50, the 7.x line before 7.4.23, and the 8.x line before 8.1.11 are vulnerable. The fix is incorporated in Symfony 6.4.50 and later, 7.4.23 and later, and 8.1.11 and later version releases.

Risk and Exploitability

The CVSS score of 5.3 indicates a moderate severity, and the vulnerability is client‑side, meaning it can be triggered simply by serving crafted HTML content that contains a malicious refresh directive. Because the attack does not rely on server‑side configuration beyond enabling meta tags, the potential for exploitation is broad and could be used to conduct phishing or drive users to malicious sites. While EPSS data is unavailable, the fact that this is not recorded in CISA's KEV catalog suggests that there is no widespread exploitation yet, but the risk remains for organizations that host content permitting meta refresh tags.

Generated by OpenCVE AI on November 4, 2026 at 14:40 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Symfony to a version that includes the fix (at least 6.4.50 for the 6.x line, 7.4.23 for the 7.x line, or 8.1.11 for the 8.x line).
  • If an upgrade is not immediately possible, avoid allowing meta tags with http-equiv="refresh" in your templates or user‑supplied content.
  • Review and, if necessary, remove or restrict the use of the allowStaticElements() preset to limit rendering of meta tags that could carry a refresh directive.

Generated by OpenCVE AI on November 4, 2026 at 14:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 04 Nov 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 04 Nov 2026 18:30:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*

Wed, 04 Nov 2026 15:00:00 +0000

Type Values Removed Values Added
First Time appeared Sensiolabs
Sensiolabs symfony
Vendors & Products Sensiolabs
Sensiolabs symfony

Wed, 04 Nov 2026 13:15:00 +0000

Type Values Removed Values Added
Description 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.
Title Symfony: HtmlSanitizer MetaRefreshAttributeSanitizer Matches Only a Narrow Subset of the Browser Refresh Grammar (Incomplete Fix for CVE-2026-48761)
Weaknesses CWE-186
CWE-601
References
Metrics cvssV4_0

{'score': 5.3, 'vector': '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'}


Subscriptions

Sensiolabs Symfony
cve-icon MITRE

Status: PUBLISHED

Assigner: Checkmarx

Published:

Updated: 2026-11-04T18:20:22.620Z

Reserved: 2026-11-03T11:38:38.187Z

Link: CVE-2026-121373

cve-icon Vulnrichment

Updated: 2026-11-04T18:12:17.662Z

cve-icon NVD

Status : Received

Published: 2026-11-04T13:17:27.350

Modified: 2026-11-04T19:17:30.380

Link: CVE-2026-121373

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-04T14:45:07Z

Weaknesses
  • CWE-186

    Overly Restrictive Regular Expression

  • CWE-601

    URL Redirection to Untrusted Site ('Open Redirect')