CVE-2026-55073 WeasyPrint restrictive URL fetcher bypass allows local file read and SSRF
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- UbuntuDebianRed Hat
Description
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.
Upgrade path
9 packages: 2 fixed, 6 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/weasyprint(Debian 12) | = 57.2-1; = 59.0-1; = 60.2-1; = 61.0-1 +12 more | No fix listed | No fix yet |
| debian/weasyprint(Debian 13) | = 62.3-1; = 67.0-1; = 69.0-1; = 69.0-2 +2 more | No fix listed | No fix yet |
| ubuntu/weasyprint(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/weasyprint(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/weasyprint(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/weasyprint(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| debian/weasyprint(Debian 14) | < 70.0-1; = 62.3-1; = 67.0-1; = 69.0-1 +1 more | 70.0-1 | Fixed |
| pypi weasyprint(PyPI) | < 70.0; = 0.1; = 0.2; = 0.2.1 +116 more | 70.0 | Fixed |
| Kozea WeasyPrint | = < 70.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi weasyprint(PyPI) | < 70.0 | 70.0 |
| pypi weasyprint(PyPI) | = 0.1 | No fix listed |
| pypi weasyprint(PyPI) | = 0.10 | No fix listed |
| pypi weasyprint(PyPI) | = 0.11 | No fix listed |
| pypi weasyprint(PyPI) | = 0.12 | No fix listed |
| pypi weasyprint(PyPI) | = 0.13 | No fix listed |
| pypi weasyprint(PyPI) | = 0.14 | No fix listed |
| pypi weasyprint(PyPI) | = 0.15 | No fix listed |
| pypi weasyprint(PyPI) | = 0.16 | No fix listed |
| pypi weasyprint(PyPI) | = 0.17 | No fix listed |
| pypi weasyprint(PyPI) | = 0.17.1 | No fix listed |
| pypi weasyprint(PyPI) | = 0.18 | No fix listed |
| pypi weasyprint(PyPI) | = 0.19 | No fix listed |
| pypi weasyprint(PyPI) | = 0.19.1 | No fix listed |
| pypi weasyprint(PyPI) | = 0.19.2 | No fix listed |
| pypi weasyprint(PyPI) | = 0.2 | No fix listed |
| pypi weasyprint(PyPI) | = 0.2.1 | No fix listed |
| pypi weasyprint(PyPI) | = 0.2.2 | No fix listed |
| pypi weasyprint(PyPI) | = 0.20 | No fix listed |
| pypi weasyprint(PyPI) | = 0.20.1 | No fix listed |
| pypi weasyprint(PyPI) | = 0.20.2 | No fix listed |
| pypi weasyprint(PyPI) | = 0.21 | No fix listed |
| pypi weasyprint(PyPI) | = 0.22 | No fix listed |
| pypi weasyprint(PyPI) | = 0.23 | No fix listed |
| pypi weasyprint(PyPI) | = 0.24 | No fix listed |
Show 127 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi weasyprint(PyPI) | = 0.25 | No fix listed |
| pypi weasyprint(PyPI) | = 0.26 | No fix listed |
| pypi weasyprint(PyPI) | = 0.27 | No fix listed |
| pypi weasyprint(PyPI) | = 0.28 | No fix listed |
| pypi weasyprint(PyPI) | = 0.29 | No fix listed |
| pypi weasyprint(PyPI) | = 0.3 | No fix listed |
| pypi weasyprint(PyPI) | = 0.3.1 | No fix listed |
| pypi weasyprint(PyPI) | = 0.30 | No fix listed |
| pypi weasyprint(PyPI) | = 0.31 | No fix listed |
| pypi weasyprint(PyPI) | = 0.32 | No fix listed |
| pypi weasyprint(PyPI) | = 0.33 | No fix listed |
| pypi weasyprint(PyPI) | = 0.34 | No fix listed |
| pypi weasyprint(PyPI) | = 0.35 | No fix listed |
| pypi weasyprint(PyPI) | = 0.36 | No fix listed |
| pypi weasyprint(PyPI) | = 0.37 | No fix listed |
| pypi weasyprint(PyPI) | = 0.38 | No fix listed |
| pypi weasyprint(PyPI) | = 0.39 | No fix listed |
| pypi weasyprint(PyPI) | = 0.4 | No fix listed |
| pypi weasyprint(PyPI) | = 0.40 | No fix listed |
| pypi weasyprint(PyPI) | = 0.41 | No fix listed |
| pypi weasyprint(PyPI) | = 0.42 | No fix listed |
| pypi weasyprint(PyPI) | = 0.42.1 | No fix listed |
| pypi weasyprint(PyPI) | = 0.42.2 | No fix listed |
| pypi weasyprint(PyPI) | = 0.42.3 | No fix listed |
| pypi weasyprint(PyPI) | = 0.5 | No fix listed |
| pypi weasyprint(PyPI) | = 0.6 | No fix listed |
| pypi weasyprint(PyPI) | = 0.6.1 | No fix listed |
| pypi weasyprint(PyPI) | = 0.7 | No fix listed |
| pypi weasyprint(PyPI) | = 0.7.1 | No fix listed |
| pypi weasyprint(PyPI) | = 0.8 | No fix listed |
| pypi weasyprint(PyPI) | = 0.9 | No fix listed |
| pypi weasyprint(PyPI) | = 43 | No fix listed |
| pypi weasyprint(PyPI) | = 43rc1 | No fix listed |
| pypi weasyprint(PyPI) | = 43rc2 | No fix listed |
| pypi weasyprint(PyPI) | = 44 | No fix listed |
| pypi weasyprint(PyPI) | = 45 | No fix listed |
| pypi weasyprint(PyPI) | = 46 | No fix listed |
| pypi weasyprint(PyPI) | = 47 | No fix listed |
| pypi weasyprint(PyPI) | = 48 | No fix listed |
| pypi weasyprint(PyPI) | = 49 | No fix listed |
| pypi weasyprint(PyPI) | = 50 | No fix listed |
| pypi weasyprint(PyPI) | = 51 | No fix listed |
| pypi weasyprint(PyPI) | = 52 | No fix listed |
| pypi weasyprint(PyPI) | = 52.1 | No fix listed |
| pypi weasyprint(PyPI) | = 52.2 | No fix listed |
| pypi weasyprint(PyPI) | = 52.3 | No fix listed |
| pypi weasyprint(PyPI) | = 52.4 | No fix listed |
| pypi weasyprint(PyPI) | = 52.5 | No fix listed |
| pypi weasyprint(PyPI) | = 53.0 | No fix listed |
| pypi weasyprint(PyPI) | = 53.0b1 | No fix listed |
| pypi weasyprint(PyPI) | = 53.0b2 | No fix listed |
| pypi weasyprint(PyPI) | = 53.1 | No fix listed |
| pypi weasyprint(PyPI) | = 53.2 | No fix listed |
| pypi weasyprint(PyPI) | = 53.3 | No fix listed |
| pypi weasyprint(PyPI) | = 53.4 | No fix listed |
| pypi weasyprint(PyPI) | = 54.0 | No fix listed |
| pypi weasyprint(PyPI) | = 54.0b1 | No fix listed |
| pypi weasyprint(PyPI) | = 54.1 | No fix listed |
| pypi weasyprint(PyPI) | = 54.2 | No fix listed |
| pypi weasyprint(PyPI) | = 54.3 | No fix listed |
| pypi weasyprint(PyPI) | = 55.0 | No fix listed |
| pypi weasyprint(PyPI) | = 55.0b1 | No fix listed |
| pypi weasyprint(PyPI) | = 56.0 | No fix listed |
| pypi weasyprint(PyPI) | = 56.0b1 | No fix listed |
| pypi weasyprint(PyPI) | = 56.1 | No fix listed |
| pypi weasyprint(PyPI) | = 57.0 | No fix listed |
| pypi weasyprint(PyPI) | = 57.0b1 | No fix listed |
| pypi weasyprint(PyPI) | = 57.1 | No fix listed |
| pypi weasyprint(PyPI) | = 57.2 | No fix listed |
| pypi weasyprint(PyPI) | = 58.0 | No fix listed |
| pypi weasyprint(PyPI) | = 58.0b1 | No fix listed |
| pypi weasyprint(PyPI) | = 58.1 | No fix listed |
| pypi weasyprint(PyPI) | = 59.0 | No fix listed |
| pypi weasyprint(PyPI) | = 59.0b1 | No fix listed |
| pypi weasyprint(PyPI) | = 60.0 | No fix listed |
| pypi weasyprint(PyPI) | = 60.1 | No fix listed |
| pypi weasyprint(PyPI) | = 60.2 | No fix listed |
| pypi weasyprint(PyPI) | = 61.0 | No fix listed |
| pypi weasyprint(PyPI) | = 61.1 | No fix listed |
| pypi weasyprint(PyPI) | = 61.2 | No fix listed |
| pypi weasyprint(PyPI) | = 62.0 | No fix listed |
| pypi weasyprint(PyPI) | = 62.1 | No fix listed |
| pypi weasyprint(PyPI) | = 62.2 | No fix listed |
| pypi weasyprint(PyPI) | = 62.3 | No fix listed |
| pypi weasyprint(PyPI) | = 63.0 | No fix listed |
| pypi weasyprint(PyPI) | = 63.1 | No fix listed |
| pypi weasyprint(PyPI) | = 64.0 | No fix listed |
| pypi weasyprint(PyPI) | = 64.1 | No fix listed |
| pypi weasyprint(PyPI) | = 65.0 | No fix listed |
| pypi weasyprint(PyPI) | = 65.1 | No fix listed |
| pypi weasyprint(PyPI) | = 66.0 | No fix listed |
| pypi weasyprint(PyPI) | = 67.0 | No fix listed |
| pypi weasyprint(PyPI) | = 68.0 | No fix listed |
| pypi weasyprint(PyPI) | = 68.1 | No fix listed |
| pypi weasyprint(PyPI) | = 69.0 | No fix listed |
| Kozea WeasyPrint | = < 70.0 | No fix listed |
| debian/weasyprint(Debian:12) | All versions | No fix listed |
| debian/weasyprint(Debian:12) | = 57.2-1 | No fix listed |
| debian/weasyprint(Debian:12) | = 59.0-1 | No fix listed |
| debian/weasyprint(Debian:12) | = 60.2-1 | No fix listed |
| debian/weasyprint(Debian:12) | = 61.0-1 | No fix listed |
| debian/weasyprint(Debian:12) | = 61.1-1 | No fix listed |
| debian/weasyprint(Debian:12) | = 61.2-1 | No fix listed |
| debian/weasyprint(Debian:12) | = 61.2-2 | No fix listed |
| debian/weasyprint(Debian:12) | = 62.0-1 | No fix listed |
| debian/weasyprint(Debian:12) | = 62.1-1 | No fix listed |
| debian/weasyprint(Debian:12) | = 62.2-1 | No fix listed |
| debian/weasyprint(Debian:12) | = 62.3-1 | No fix listed |
| debian/weasyprint(Debian:12) | = 67.0-1 | No fix listed |
| debian/weasyprint(Debian:12) | = 69.0-1 | No fix listed |
| debian/weasyprint(Debian:12) | = 69.0-2 | No fix listed |
| debian/weasyprint(Debian:12) | = 70.0-1 | No fix listed |
| debian/weasyprint(Debian:13) | All versions | No fix listed |
| debian/weasyprint(Debian:13) | = 62.3-1 | No fix listed |
| debian/weasyprint(Debian:13) | = 67.0-1 | No fix listed |
| debian/weasyprint(Debian:13) | = 69.0-1 | No fix listed |
| debian/weasyprint(Debian:13) | = 69.0-2 | No fix listed |
| debian/weasyprint(Debian:13) | = 70.0-1 | No fix listed |
| debian/weasyprint(Debian:14) | < 70.0-1 | 70.0-1 |
| debian/weasyprint(Debian:14) | = 62.3-1 | No fix listed |
| debian/weasyprint(Debian:14) | = 67.0-1 | No fix listed |
| debian/weasyprint(Debian:14) | = 69.0-1 | No fix listed |
| debian/weasyprint(Debian:14) | = 69.0-2 | No fix listed |
| ubuntu/weasyprint(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/weasyprint(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/weasyprint(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/weasyprint(Ubuntu:26.10) | All versions | No fix listed |
References
- https://github.com/Kozea/WeasyPrint/security/advisories/GHSA-jf6q-chmf-3h3v exploit vendor-advisory
- github.com product
- https://github.com/Kozea/WeasyPrint/releases/tag/v70.0
- pypi.org product
- github.com vendor-advisory
- nvd.nist.gov vendor-advisory
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2533208 issue-tracking
- www.cve.org
- https://github.com/Kozea/WeasyPrint/commit/289e278439b017cd9263b4cd4727026987f86443
- Debian Security Tracker CVE-2026-55073 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking