CVE-2025-68616WeasyPrint Vulnerable to Server-Side Request Forgery (SSRF) Protection Bypass via HTTP Redirect
Updated under an hour ago ()
Does this affect you?
It affects Kozea WeasyPrint and 1 other product. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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.
- CVSS
- 7.5 HIGH (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weakness (CWE)
- CWE-601, CWE-918
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- GitHub_M
- NVD analysis
- Modified
- Record last updated
- Jul 14, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
Kozea WeasyPrint kozea:weasyprint (from the name) | before 68.0 | CNA record |
Red Hat Red Hat Ansible Automation Platform 2 redhat:ansible_automation_platform | 2 | CISA ADP |
kozea weasyprint kozea:weasyprint | before 68.0 | NVD |
References
- https://github.com/Kozea/WeasyPrint/security/advisories/GHSA-983w-rhvv-gwmvx-refsource-confirm, exploit, third-party-advisory
- https://github.com/Kozea/WeasyPrint/commit/b6a14f0f3f4ce9c0c75c1a2d73cb1c5d43f0e565x-refsource-misc, patch
- https://access.redhat.com/security/cve/CVE-2025-68616
- https://bugzilla.redhat.com/show_bug.cgi?id=2430858
- https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-68616.json
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.