CVE-2025-68616: Kozea WeasyPrint · Open Redirect
Affects Kozea WeasyPrintSource CVE Database V5
Not known to be exploited · CVSS 7.5 High : upgrade to 68.0 soon.
Data as of 26 Oct 2026, 17:16 UTC
- EPSS
- 0.7% chance of exploitation in 30 days – higher than 52% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 68.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 19 Jan 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade WeasyPrint and weasyprint to 68.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| KozeaWeasyPrint | Affected
| Fixed in
|
PyPIweasyprintpkg:pypi/weasyprintOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade WeasyPrint to version 68.0 or later, where the vulnerability has been patched. The vendor advisory from Red Hat confirms that the issue is fixed in this version. No additional mitigation is required once the patch is applied.
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.
References
- github.com/Kozea/WeasyPrint/security/advisories/GHSA-983w-rhvv-gwmv (opens in a new tab)
- github.com/Kozea/WeasyPrint/commit/b6a14f0f3f4ce9c0c75c1a2d73cb1c5d43f0e565 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2025-68616 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2430858 (opens in a new tab)
- security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-68616.json (opens in a new tab)