Open redirectin Kozea WeasyPrint.
Proof of concept public (GitHub).
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.
- Upgrade WeasyPrint to 68.0 or later.
- Upgrade weasyprint (PyPI) to 68.0 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 19 Dec 2025CVE ID reserved by GitHub_M.
- 19 Jan 2026Published in the CVE List.
- 15 Jul 2026CVE record last updated.
- 18 Jul 2026First public proof of concept on GitHub.
Attack code anyone can find
Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation poc.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other WeasyPrint vulnerabilities
Same weakness: Open redirect
- github.com x_refsource_CONFIRM
- github.com x_refsource_MISC
- access.redhat.com vdb-entry, x_refsource_REDHAT
- bugzilla.redhat.com issue-tracking, x_refsource_REDHAT
- security.access.redhat.com x_sadp-csaf-vex
Patchminder. CVE-2025-68616: Open redirect in Kozea WeasyPrint. https://patchminder.com/cve/cve-2025-68616/ (accessed 5 December 2026).