Bug 2430858 (CVE-2025-68616) - CVE-2025-68616 WeasyPrint: WeasyPrint Server-Side Request Forgery (SSRF)
Summary: CVE-2025-68616 WeasyPrint: WeasyPrint Server-Side Request Forgery (SSRF)
Keywords:
Status: NEW
Alias: CVE-2025-68616
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2430925 2430926 2430927
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-01-19 16:01 UTC by OSIDB Bzimport
Modified: 2026-01-19 19:34 UTC (History)
22 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-01-19 16:01:23 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.