CVE-2026-49452Kozea WeasyPrint
Media 6.5 Sin autenticación
Seguir: esta CVE · Kozea · Kozea WeasyPrint Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 54
- CVSS 3.1
- 6.5
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 18 ago 2026
- Actualizada
- 22 oct 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-74
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: sí · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Qué pasa
WeasyPrint helps web developers to create PDF documents. Prior to 69.0, WeasyPrint embeds unescaped HTML presentational-hint attribute values into CSS in weasyprint/css/__init__.py when presentational_hints=True. The background attribute is inserted into a background-image:url() declaration and parsed by tinycss2.parse_blocks_contents(), allowing untrusted HTML to inject additional CSS declarations. Applications that render untrusted HTML with presentational hints enabled can be affected by CSS injection and server-side requests through injected url() values. This issue is fixed in version 69.0.
Qué hacer
- Aplica la actualización de seguridad del fabricante para WeasyPrint.
- 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 |
|---|---|---|---|---|
| PyPI | weasyprint |
≤ 68.1 |
sin versión corregida | — |
| PyPI | weasyprint |
≤ 68.1 |
sin versión corregida | — |
Según OSV / GitHub Advisories (GHSA-jhhc-3hcp-qhm5, PYSEC-2026-3412). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados
- Kozea · WeasyPrint
Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.
Boletines oficiales
- Security update for python-weasyprint · SUSE · openSUSE-SU-2026:21364-1 · 16 jul 2026 Media
- python313-weasyprint-69.0-1.1 on GA media · SUSE · openSUSE-SU-2026:11249-1 · 10 jul 2026 Media
Avisos de fabricantes, CERT y distribuciones que nombran esta CVE. Títulos sin modificar.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.