Skip to main content
CVE-2026-121373VulnerabilityPublished

symfony/html-sanitizer · Symfony: HtmlSanitizer MetaRefreshAttributeSanitizer Matches Only a Narrow Subset of the Browser Refresh Grammar

Affects symfony/html-sanitizerSource GCVE Database

0
Compare
Authoritative record:CVE-2026-121373· Medium 5.3

Not known to be exploited · CVSS 5.3 Medium : upgrade to 6.4.50 when convenient.

Data as of 1 Dec 2026, 23:46 UTC

CVSS 4.0 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (Checkmarx)CVSS 4.05.3
Patch
Available – fixed in 6.4.50, 7.4.23, 8.1.11
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 4 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 1 Dec 2026.

What to do

Upgrade symfony/html-sanitizer and symfony/symfony to 6.4.50; symfony/html-sanitizer and symfony/symfony to 7.4.23; symfony/html-sanitizer and symfony/symfony to 8.1.11.

Affected software

ProductAffectedFixed in
Packagistsymfony/html-sanitizerAffected
  • >=6.1.0 <6.4.50
Fixed in
  • 6.4.50
Packagistsymfony/html-sanitizerAffected
  • >=7.0.0 <7.4.23
Fixed in
  • 7.4.23
Packagistsymfony/html-sanitizerAffected
  • >=8.0.0 <8.1.11
Fixed in
  • 8.1.11
Packagistsymfony/symfonyAffected
  • >=6.1.0 <6.4.50
Fixed in
  • 6.4.50
Packagistsymfony/symfonyAffected
  • >=7.0.0 <7.4.23
Fixed in
  • 7.4.23
Packagistsymfony/symfonyAffected
  • >=8.0.0 <8.1.11
Fixed in
  • 8.1.11

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Apply the official patch available in symfony/html-sanitizer versions 6.4.50, 7.4.23, and 8.1.11 or later. The patch fully parses meta refresh content attributes according to the WHATWG specification and drops unsafe attributes. No other mitigation is required as the patch addresses the root cause. Review configurations that allow meta elements with http-equiv and content attributes to ensure they are updated.

Description

The Symfony HtmlSanitizer component's MetaRefreshAttributeSanitizer did not fully sanitize meta refresh URLs due to a regex that matched only a narrow subset of browser-supported refresh grammar. This allowed certain refresh directives with URLs to bypass URL sanitization and host allow-list checks, potentially enabling navigation to untrusted or malicious URLs. The issue affects configurations allowing meta elements with http-equiv and content attributes, including the allowStaticElements() preset. A patch was released that aligns parsing with the WHATWG declarative refresh specification and drops unsafe attributes. The fix is available in Symfony versions 6.4.50, 7.4.23, and 8.1.11 and later.

References

Community reviews

Loading reviews…