CVE-2026-121373Symfony: HtmlSanitizer MetaRefreshAttributeSanitizer Matches Only a Narrow Subset of the…
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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | symfony | Fix pending | UBUNTU-CVE-2026-121373 | |
| Ubuntu 26.04 | symfony | Under investigation | UBUNTU-CVE-2026-121373 | |
| Ubuntu 24.04 | symfony | Fix pending | UBUNTU-CVE-2026-121373 | |
| Ubuntu 22.04 | symfony | Fix pending | UBUNTU-CVE-2026-121373 | |
| Ubuntu 20.04 | symfony | Fix pending | UBUNTU-CVE-2026-121373 | |
| Ubuntu 18.04 | symfony | Fix pending | UBUNTU-CVE-2026-121373 | |
| Ubuntu 16.04 | symfony | Fix pending | UBUNTU-CVE-2026-121373 | |
| Debian 14 | symfony | Fixed | 7.4.23+dfsg-1 | DEBIAN-CVE-2026-121373 |
| Debian 13 | symfony | Fixed | 6.4.50+dfsg-0+deb13u1 | DEBIAN-CVE-2026-121373 |
| Debian 12 | symfony | Fix pending | DEBIAN-CVE-2026-121373 |
What the vendor says
As published in the CVE record by Checkmarx, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- sensiolabs symfony: affected: 6.1.0 to before 6.4.50, 7.0.0 to before 7.4.23, 8.0.0 to before 8.1.11; fixed in
6.4.50,7.4.23,8.1.11
Vendor advisories:
References
- https://github.com/symfony/symfony/security/advisories/GHSA-wm2w-4mgj-vw33
- https://github.com/symfony/symfony/commit/2d4c4fe36200858b91132a95076fff3d9de89d26
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.