CVE-2025-68616
HIGH 7.5CVSS 3.1WeasyPrint has a Server-Side Request Forgery (SSRF) Protection Bypass via HTTP Redirect
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.
- Published
- 19 Jan 2026
- Last modified
- 15 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-601CWE-918
- Also known as
- GHSA-983w-rhvv-gwmvPYSEC-2026-2034
- Sources
- NVDJSONOSV GHSA-983w-rhvv-gwmvJSONOSV PYSEC-2026-2034JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | PyPA | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | kozea | weasyprintcpe:2.3:a:kozea:weasyprint:*:*:*:*:*:*:*:* |
< 68.0 | 68.0 |
| OSV | PyPI | weasyprint | < 68.0 | 68.0 |
References
- https://github.com/Kozea/WeasyPrint/commit/b6a14f0f3f4ce9c0c75c1a2d73cb1c5d43f0e565 · Patch, WEB
- https://github.com/Kozea/WeasyPrint/security/advisories/GHSA-983w-rhvv-gwmv · Exploit, Third Party Advisory, WEB
- https://access.redhat.com/security/cve/CVE-2025-68616 · WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2430858 · WEB
- https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-68616.json · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-68616 · ADVISORY
- https://github.com/Kozea/WeasyPrint · PACKAGE
- https://pypi.org/project/weasyprint · PACKAGE
- https://github.com/advisories/GHSA-983w-rhvv-gwmv · ADVISORY
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 19 Jan 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 20 Jan 2026)