CVE-2026-121373
published medium CVSS 4.0 · 5.3Symfony: HtmlSanitizer MetaRefreshAttributeSanitizer Matches Only a Narrow Subset of the Browser Refresh Grammar (Incomplete Fix for CVE-2026-48761)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| sensiolabs | — | symfony/html-sanitizersymfony · 6.1.0 to < 6.4.50 · 7.0.0 to < 7.4.23 · 8.0.0 to < 8.1.11 · Other versions: unaffected | Affected | Not stated | Checkmarx |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | trixie | symfony | Advisory build | 6.4.50+dfsg-0+deb13u1 | DSA-6617-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- Checkmarx · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| sensiolabs | symfony | 6.1.0 to < 6.4.50 (affected · git)7.0.0 to < 7.4.23 (affected · git)8.0.0 to < 8.1.11 (affected · git)Default: unaffected | Checkmarx · cna |
Weaknesses
2- CWE-186 CWE-186 Overly restrictive regular expression
- CWE-601 CWE-601 URL redirection to untrusted site ('open redirect')
References
2Provider assertions
2Checkmarx · cna
Symfony: HtmlSanitizer MetaRefreshAttributeSanitizer Matches Only a Narrow Subset of the Browser Refresh Grammar (Incomplete Fix for CVE-2026-48761)
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 784d7ab1d43df0ce1692f56b637237f20e384c20584573cec41d322227b0a6fd
- Ingested
- 04 Nov 2026, 18:25:25 UTC
- Source record
- Official CVE record