CVE-2026-55073Kozea WeasyPrint
Media 6.2
Seguir: esta CVE · Kozea · Kozea WeasyPrint Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 37
- CVSS 3.1
- 6.2
- EPSS
- —
- Requiere autenticación
- Sí
- Publicada
- 14 sep 2026
- Actualizada
- 23 sep 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-918
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: no · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Qué pasa
WeasyPrint helps web developers to create PDF documents. Prior to 70.0, server-side applications that configure a restrictive url_fetcher and pass attacker-influenced values to HTML.write_pdf() can have the restriction bypassed through the xmp_metadata or stylesheets options. In weasyprint/pdf/init.py, xmp_metadata calls select_source() without the document url_fetcher, allowing an accessible local file to be read and embedded verbatim in the output PDF. In weasyprint/document.py, stylesheets constructs CSS() without the document url_fetcher, allowing local or internal resource loading and propagating the permissive fetcher through nested CSS imports and url() references. The stylesheets channel applies fetched resources but does not by itself disclose stylesheet comments verbatim. This issue is fixed in version 70.0.
Qué hacer
- Aplica la actualización de seguridad del fabricante para WeasyPrint.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| PyPI | weasyprint |
< 70.0 |
70.0 |
pip install "weasyprint>=70.0" |
| PyPI | weasyprint |
< 70.0 |
70.0 |
pip install "weasyprint>=70.0" |
Según OSV / GitHub Advisories (GHSA-jf6q-chmf-3h3v, PYSEC-2026-3940). 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:21928-1 · 21 sep 2026 Media
- python313-weasyprint-70.0-1.1 on GA media · SUSE · openSUSE-SU-2026:11816-1 · 18 sep 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.