CVE-2026-118517sensiolabs symfony
Baja 2.3 Sin autenticación
Seguir: esta CVE · sensiolabs · sensiolabs symfony Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 29
- CVSS 4.0
- 2.3
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 5 nov 2026
- Actualizada
- 6 nov 2026
- Categoría
- Aplicación · Multiplataforma
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: no · Impacto técnico: parcial
- Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Qué pasa
The Symfony HtmlSanitizer component UrlSanitizer parses URLs differently from browsers, allowing the allowLinkHosts() and allowMediaHosts() checks to be bypassed for URLs without a well-formed authority, resulting in untrusted hosts being referenced in sanitized output 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.
UrlSanitizer parses URLs with league/uri, which follows RFC 3986, while browsers follow the WHATWG URL standard. For URLs without a well-formed authority, such as http:evil.example, ///evil.example, or https://://evil.example/ the sanitizer finds no host, whereas browsers resolve them to evil.example. The guard added for CVE-2026-45066 missed the zero-slash form, and the host 0 was also skipped because PHP treats it as falsy.
This is exploitable when a host allow-list is combined with allowRelativeLinks(true) or allowRelativeMedias(true). The default configuration is not affected.
Qué hacer
- Aplica la actualización de seguridad del fabricante para symfony.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| Packagist | symfony/html-sanitizer |
≥ 6.1.0 < 6.4.50 |
6.4.50 |
composer require "symfony/html-sanitizer:^6.4.50" |
| Packagist | symfony/html-sanitizer |
≥ 7.0.0 < 7.4.23 |
7.4.23 |
composer require "symfony/html-sanitizer:^7.4.23" |
| Packagist | symfony/html-sanitizer |
≥ 8.0.0 < 8.1.11 |
8.1.11 |
composer require "symfony/html-sanitizer:^8.1.11" |
| Packagist | symfony/symfony |
≥ 6.1.0 < 6.4.50 |
6.4.50 |
composer require "symfony/symfony:^6.4.50" |
| Packagist | symfony/symfony |
≥ 7.0.0 < 7.4.23 |
7.4.23 |
composer require "symfony/symfony:^7.4.23" |
| Packagist | symfony/symfony |
≥ 8.0.0 < 8.1.11 |
8.1.11 |
composer require "symfony/symfony:^8.1.11" |
Según OSV / GitHub Advisories (GHSA-c76g-9c4c-gxrw). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados
- sensiolabs · symfony
Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.