- Accueil
- Vulnérabilités
- CVE-2026-121373
CVE-2026-121373
Symfony: HtmlSanitizer MetaRefreshAttributeSanitizer Matches Only a Narrow Subset of the Browser Refresh Grammar (Incomplete Fix for CVE-2026-48761)
Résumé
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.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Packagist (6 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| symfony/html-sanitizer | de 6.1.0 (inclus) à 6.4.50 (exclu) |
6.4.50 |
GitHub Advisory |
| symfony/html-sanitizer | de 7.0.0 (inclus) à 7.4.23 (exclu) |
7.4.23 |
GitHub Advisory |
| symfony/html-sanitizer | de 8.0.0 (inclus) à 8.1.11 (exclu) |
8.1.11 |
GitHub Advisory |
| symfony/symfony | de 6.1.0 (inclus) à 6.4.50 (exclu) |
6.4.50 |
GitHub Advisory |
| symfony/symfony | de 7.0.0 (inclus) à 7.4.23 (exclu) |
7.4.23 |
GitHub Advisory |
| symfony/symfony | de 8.0.0 (inclus) à 8.1.11 (exclu) |
8.1.11 |
GitHub Advisory |
Correctif
Mise à jour — Packagist/symfony/html-sanitizer 6.4.50; Packagist/symfony/html-sanitizer 7.4.23; Packagist/symfony/html-sanitizer 8.1.11; Packagist/symfony/symfony 6.4.50; Packagist/symfony/symfony 7.4.23; Packagist/symfony/symfony 8.1.11source officielle
Source : GitHub Advisory
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
Avis CERT-FR
Références
- https://github.com/symfony/symfony/security/advisories/GHSA-wm2w-4mgj-vw33WEB
- https://github.com/symfony/symfony/commit/2d4c4fe36200858b91132a95076fff3d9de89d26WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-121373ADVISORY
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/html-sanitizer/CVE-2026-121373.yamlWEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2026-121373.yamlWEB
- https://github.com/symfony/symfonyPACKAGE
- https://github.com/symfony/symfony/releases/tag/v6.4.50WEB
- https://github.com/symfony/symfony/releases/tag/v7.4.23WEB
- https://github.com/symfony/symfony/releases/tag/v8.1.11WEB
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- CNA (éditeur ou attributeur)
- Faiblesse (CWE)
- CNA (éditeur ou attributeur)
- Vecteur CVSS
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(CVSS 4.0, CNA:Checkmarx)- Faiblesse
- CWE-186 · Autre (CWE-186)