CVE-2025-68616 json
WeasyPrint Vulnerable to Server-Side Request Forgery (SSRF) Protection Bypass via HTTP Redirect
published 2026-01-19 9 mo ago modified 2026-07-15 3 mo ago also EUVD-2025-206301 , GHSA-983w-rhvv-gwmv , PYSEC-2026-2034
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 53%
- public exploits
- 0
- none known
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.
Patch / fix
- pypi weasyprint 68.0
- kozea weasyprint 68.0
- weasyprint Debian 14 69.0-1
debian advisories DEBIAN-CVE-2025-68616
- python-weasyprint openSUSE Tumbleweed 68.0-1.1
- python-weasyprint openSUSE Leap 16.0 65.1-bp160.2.1
opensuse advisories openSUSE-SU-2026:10079-1openSUSE-SU-2026:20069-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-68616 updated cvss 7.5
WeasyPrint: WeasyPrint Server-Side Request Forgery (SSRF)
-
Red Hat Ansible Automation Platform 2 ansible-automation-platform-tech-preview/automation-dashboard-rhel9affected: workaround, no fix available
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 9 mo ago
Exploit prediction
0.70% chance of exploitation in the next 30 days, higher than 53% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/Kozea/WeasyPrint/security/advisories/GHSA-983w-rhvv-gwmv referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| CISA ADP | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | weasyprint | <68.0 |
68.0 |
Affected products
- Kozea WeasyPrint
- Red Hat Red Hat Ansible Automation Platform 2
Classification
References
-
github.com
/Kozea/WeasyPrint/commit/b6a14f0f3f4ce9c0c75c1a2d73cb1c5d43f0e565
web, patch
-
github.com
/Kozea/WeasyPrint/security/advisories/GHSA-983w-rhvv-gwmv
exploit, web, third-party-advisory
-
access.redhat.com
/security/cve/CVE-2025-68616
vdb-entry, web
-
bugzilla.redhat.com
/show_bug.cgi?id=2430858
issue-tracking, web
-
security.access.redhat.com
/data/csaf/v2/vex/2025/cve-2025-68616.json
web
-
nvd.nist.gov
/vuln/detail/CVE-2025-68616
advisory
-
github.com
/Kozea/WeasyPrint
package
-
pypi.org
/project/weasyprint
package
-
github.com
/advisories/GHSA-983w-rhvv-gwmv
advisory
Sources
- CVE List CVE-2025-68616
- GitHub Advisory GHSA-983w-rhvv-gwmv
- NVD CVE-2025-68616
- OSV PYSEC-2026-2034
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.