Read the docs
TI-2025-42134 Aliases CVE-2025-68616GHSA-983w-rhvv-gwmv

WeasyPrint Vulnerable to Server-Side Request Forgery (SSRF) Protection Bypass via HTTP Redirect

Priority HIGH 72CWE-601Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Spoofing, Information disclosure
Confidentiality · integrity · availability
High · None · None
Fix status
Partial Red Hat: 1 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-601, CWE-918 and the CVSS impact.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00702 53rd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial WeasyPrint (Kozea): 68.0weasyprint (PyPI): 68.0Red Hat: 1 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
KozeaWeasyPrintbefore 68.068.0Patch availableCNA
—weasyprint (PyPI)before 68.068.0Patch availableGHSA-983w-rhvv-gwmv
  • WeasyPrint VendorKozea Affected before 68.0 Fixed in 68.0 Patch available CNA
  • weasyprint (PyPI) Vendor— Affected before 68.0 Fixed in 68.0 Patch available GHSA-983w-rhvv-gwmv

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:kozea:weasyprint:*:*:*:*:*:*:*:*before 68.0VulnerableKozea
  • cpe:2.3:a:kozea:weasyprint:*:*:*:*:*:*:*:* Versions before 68.0 Vulnerable ·Kozea

Remediation

  • Fix · CNA WeasyPrint (Kozea) Fixed in 68.0
  • Fix · GHSA-983w-rhvv-gwmv weasyprint (PyPI) Fixed in 68.0 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Ansible Automation Platform 2AffectedNo fix yet

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-68616
  2. 2026-10-03 Alias added: GHSA-983w-rhvv-gwmv

References

  • TI-2024-18760 WeasyPrint allows the attachment of arbitrary files and URLs to a PDF CVSS 3.1HIGH 7.4

Sources