{"cve":"CVE-2026-55073","nvd":{"published":"2026-09-14T17:17:47.770","modified":"2026-09-23T17:17:44.630","status":"Deferred","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":6.2},"cwes":["CWE-918"],"references":["https://github.com/Kozea/WeasyPrint/commit/289e278439b017cd9263b4cd4727026987f86443","https://github.com/Kozea/WeasyPrint/releases/tag/v70.0","https://github.com/Kozea/WeasyPrint/security/advisories/GHSA-jf6q-chmf-3h3v","https://github.com/Kozea/WeasyPrint/security/advisories/GHSA-jf6q-chmf-3h3v"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:53:43.293028046+00:00"},"epss":{"cve":"CVE-2026-55073","score":0.00225,"percentile":0.13229,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-jf6q-chmf-3h3v","url":"https://osv.dev/vulnerability/GHSA-jf6q-chmf-3h3v","summary":"weasyprint Has Server-Side Request Forgery (SSRF)","modified":"2026-09-10T12:26:05.802944622Z","packages":[{"ecosystem":"PyPI","name":"weasyprint","purl":"pkg:pypi/weasyprint","ranges":["<70.0"],"fixed":["70.0"]}]},{"id":"PYSEC-2026-3940","url":"https://osv.dev/vulnerability/PYSEC-2026-3940","summary":"weasyprint Has Server-Side Request Forgery (SSRF)","modified":"2026-09-10T12:15:15.627247874Z","packages":[{"ecosystem":"PyPI","name":"weasyprint","purl":"pkg:pypi/weasyprint","ranges":["<70.0"],"fixed":["70.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}