patchminder
Proof of concept · GitHub CVE-2025-68616

Open redirectin Kozea WeasyPrint.

Published 19 Jan 2026 · Updated 15 Jul 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (GitHub).

Attack code is public
Severity
High 7.5
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · no login needed
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.7% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 68.0 or later
In plain words

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.

What to do now
  • Upgrade WeasyPrint to 68.0 or later.
  • Upgrade weasyprint (PyPI) to 68.0 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
WeasyPrint
before 68.0
68.0
CVE record
weasyprint (PyPI)
before 68.0
68.0
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 19 Dec 2025
    CVE ID reserved by GitHub_M.
  2. 19 Jan 2026
    Published in the CVE List.
  3. 15 Jul 2026
    CVE record last updated.
  4. 18 Jul 2026
    First public proof of concept on GitHub.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation poc.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
1 repository
GitHubno warning signs foundrauljvc8/CVE-2025-68616-Detecting-and-Patching-an-SSRF-in-WeasyPrint-with-Wazuh0 stars · created 18 Jul 2026Hands-on vulnerability management case study: how Wazuh flagged a real SSRF (CVE-2025-68616) in WeasyPrint, and how I reproduced and patched it.

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.

Related

Other WeasyPrint vulnerabilities

Same weakness: Open redirect

All CWE-601 vulnerabilities

References
Cite this page

Patchminder. CVE-2025-68616: Open redirect in Kozea WeasyPrint. https://patchminder.com/cve/cve-2025-68616/ (accessed 5 December 2026).