# CVE-2026-55073: WeasyPrint restrictive URL fetcher bypass allows local file read and SSRF

- Priority: **Routine**
- Reason: Not severe (CVSS 6.2, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-09-14 · Modified: 2026-09-16
- Aliases: GHSA-jf6q-chmf-3h3v, PYSEC-2026-3940, UBUNTU-CVE-2026-55073, DEBIAN-CVE-2026-55073, openSUSE-SU-2026:11816-1, openSUSE-SU-2026:21928-1
- Record: https://cvemate.com/vulnerability/CVE-2026-55073 · JSON: https://cvemate.com/vulnerability/CVE-2026-55073/json

## Description

```text
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.
```

## Signals

- CVSS: 6.2 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS: 0.225%, percentile 14.032%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian weasyprint (Debian): All versions (No fix recorded) \| \< 70.0-1
- ubuntu weasyprint (Ubuntu): All versions (No fix recorded)
- kozea weasyprint: \< 70.0
- PyPI weasyprint (PyPI): \< 70.0
- opensuse python-weasyprint&distro=openSUSE Leap 16.0 (openSUSE): \< 65.1-bp160.4.1
- opensuse python-weasyprint&distro=openSUSE Tumbleweed (openSUSE): \< 70.0-1.1

## References

- <https://github.com/Kozea/WeasyPrint/security/advisories/GHSA-jf6q-chmf-3h3v>
- <https://github.com/Kozea/WeasyPrint/commit/289e278439b017cd9263b4cd4727026987f86443>
- <https://github.com/Kozea/WeasyPrint/releases/tag/v70.0>
- <https://github.com/Kozea/WeasyPrint>
- <https://pypi.org/project/weasyprint>
- <https://github.com/advisories/GHSA-jf6q-chmf-3h3v>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-55073>
- <https://ubuntu.com/security/CVE-2026-55073>
- <https://www.cve.org/CVERecord?id=CVE-2026-55073>
- <https://security-tracker.debian.org/tracker/CVE-2026-55073>
- <https://www.suse.com/security/cve/CVE-2026-55073>
- <https://bugzilla.suse.com/1279942>

---

Data as of 2026-12-05T09:45:17.077Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
