{"cve":"CVE-2025-68616","nvd":{"published":"2026-01-19T16:15:53.573","modified":"2026-07-15T02:17:50.380","status":"Modified","description":"WeasyPrint helps web developers to create PDF documents. Prior to version 68.0, a server-side request forgery (SSRF) protection bypass exists in WeasyPrint's `default_url_fetcher`. The vulnerability allows attackers to access internal network resources (such as `localhost` services or cloud metadata endpoints) even when a developer has implemented a custom `url_fetcher` to block such access. This occurs because the underlying `urllib` library follows HTTP redirects automatically without re-validating the new destination against the developer's security policy. Version 68.0 contains a patch for the issue.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5},"cwes":["CWE-601","CWE-918"],"references":["https://github.com/Kozea/WeasyPrint/commit/b6a14f0f3f4ce9c0c75c1a2d73cb1c5d43f0e565","https://github.com/Kozea/WeasyPrint/security/advisories/GHSA-983w-rhvv-gwmv","https://access.redhat.com/security/cve/CVE-2025-68616","https://bugzilla.redhat.com/show_bug.cgi?id=2430858","https://github.com/Kozea/WeasyPrint/security/advisories/GHSA-983w-rhvv-gwmv"],"products":["kozea:weasyprint"],"source":"nvd","synced_at":"2026-10-19T22:21:16.563232421+00:00"},"epss":{"cve":"CVE-2025-68616","score":0.00702,"percentile":0.53263,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-983w-rhvv-gwmv","url":"https://osv.dev/vulnerability/GHSA-983w-rhvv-gwmv","summary":"WeasyPrint has a Server-Side Request Forgery (SSRF) Protection Bypass via HTTP Redirect","modified":"2026-07-07T17:57:32.367800639Z","packages":[{"ecosystem":"PyPI","name":"weasyprint","purl":"pkg:pypi/weasyprint","ranges":["<68.0"],"fixed":["68.0"]}]},{"id":"PYSEC-2026-2034","url":"https://osv.dev/vulnerability/PYSEC-2026-2034","summary":"WeasyPrint has a Server-Side Request Forgery (SSRF) Protection Bypass via HTTP Redirect","modified":"2026-07-07T17:46:23.927909739Z","packages":[{"ecosystem":"PyPI","name":"weasyprint","purl":"pkg:pypi/weasyprint","ranges":["<68.0"],"fixed":["68.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."]}