CVE-2025-68616
January 19, 2026
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.
Affected Packages
https://github.com/Kozea/WeasyPrint.git (GITHUB):
Affected version(s) >=v0.1 <v68.0Fix Suggestion:
Update to version v68.0weasyprint (PYTHON):
Affected version(s) >=0.1 <68.0Fix Suggestion:
Update to version 68.0Related ResourcesĀ (4)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
EPSS
Base Score:
0.04