CVE-2026-55073
published medium CVSS 3.1 · 6.2WeasyPrint restrictive URL fetcher bypass allows local file read and SSRF
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Kozea | — | WeasyPrint< 70.0 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-weasyprintnoarch | Advisory build | 65.1-bp160.4.1 | OPENSUSE-SU-2026:21928-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-weasyprintaarch64 | Advisory build | 70.0-1.1 | OPENSUSE-SU-2026:11816-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-weasyprintppc64le | Advisory build | 70.0-1.1 | OPENSUSE-SU-2026:11816-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-weasyprints390x | Advisory build | 70.0-1.1 | OPENSUSE-SU-2026:11816-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-weasyprintx86_64 | Advisory build | 70.0-1.1 | OPENSUSE-SU-2026:11816-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-weasyprintaarch64 | Advisory build | 70.0-1.1 | OPENSUSE-SU-2026:11816-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-weasyprintppc64le | Advisory build | 70.0-1.1 | OPENSUSE-SU-2026:11816-1 |
Show 2 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-weasyprints390x | Advisory build | 70.0-1.1 | OPENSUSE-SU-2026:11816-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-weasyprintx86_64 | Advisory build | 70.0-1.1 | OPENSUSE-SU-2026:11816-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.2 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Kozea | WeasyPrint | < 70.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-918 CWE-918: Server-Side Request Forgery (SSRF)
References
3Provider assertions
2GitHub_M · cna
WeasyPrint restrictive URL fetcher bypass allows local file read and SSRF
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d9aad55095e248a05879ede52f143b0511a59d17b335368701b7032b30297718
- Ingested
- 23 Sep 2026, 09:20:39 UTC
- Source record
- Official CVE record