Skip to main content
CVE-2025-68616VulnerabilityPublished Updated

CVE-2025-68616: Kozea WeasyPrint · Open Redirect

Affects Kozea WeasyPrintSource CVE Database V5

0

Not known to be exploited · CVSS 7.5 High : upgrade to 68.0 soon.

Data as of 26 Oct 2026, 06:26 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 19 Jan 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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 2026-10-26.

What to do

Upgrade WeasyPrint and weasyprint to 68.0.

Affected software

ProductAffectedFixed in
KozeaWeasyPrintAffected
  • <68.0
Fixed in
  • 68.0
PyPIweasyprintpkg:pypi/weasyprintOther threatsAffected
  • <68.0
Fixed in
  • 68.0

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

Community reviews

Loading reviews…