VDB

CVE-2026-55073

CVE-2026-55073 PUBLISHED CVSS 6.2 MEDIUM

WeasyPrint restrictive URL fetcher bypass allows local file read and SSRF

Reported by github_m · Published September 14, 2026

weasyprint is fixed in 70.0 (PyPI)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
weasyprintPyPI70.0

Risk scores

CVSS 3.1
6.2
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected products

VendorProductVersions
KozeaWeasyPrint< 70.0
KozeaWeasyPrint0
PyPIweasyprint0

Timeline

  • Sep 9, 2026 CVE Published
  • Sep 14, 2026 Coalition ESS Score
  • Sep 15, 2026 EPSS Score (14 in total, the first dated here)
  • Sep 19, 2026 CVE Updated
  • Oct 31, 2026 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-55073
vulnetix vdb fixes CVE-2026-55073

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-55073/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›