CVE-2025-68616 WeasyPrint Vulnerable to Server-Side Request Forgery (SSRF) Protection Bypass via HTTP Redirect
HighCVSS 7.5
EPSS 0.70%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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 products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi weasyprint(PyPI) | < 68.0 | 68.0 |
| pypi weasyprint(PyPI) | = 0.1 | No fix listed |
| pypi weasyprint(PyPI) | = 0.10 | No fix listed |
| pypi weasyprint(PyPI) | = 0.11 | No fix listed |
| pypi weasyprint(PyPI) | = 0.12 | No fix listed |
| pypi weasyprint(PyPI) | = 0.13 | No fix listed |
| pypi weasyprint(PyPI) | = 0.14 | No fix listed |
| pypi weasyprint(PyPI) | = 0.15 | No fix listed |
| pypi weasyprint(PyPI) | = 0.16 | No fix listed |
| pypi weasyprint(PyPI) | = 0.17 | No fix listed |
| pypi weasyprint(PyPI) | = 0.17.1 | No fix listed |
| pypi weasyprint(PyPI) | = 0.18 | No fix listed |
| pypi weasyprint(PyPI) | = 0.19 | No fix listed |
| pypi weasyprint(PyPI) | = 0.19.1 | No fix listed |
| pypi weasyprint(PyPI) | = 0.19.2 | No fix listed |
| pypi weasyprint(PyPI) | = 0.2 | No fix listed |
| pypi weasyprint(PyPI) | = 0.2.1 | No fix listed |
| pypi weasyprint(PyPI) | = 0.2.2 | No fix listed |
| pypi weasyprint(PyPI) | = 0.20 | No fix listed |
| pypi weasyprint(PyPI) | = 0.20.1 | No fix listed |
| pypi weasyprint(PyPI) | = 0.20.2 | No fix listed |
| pypi weasyprint(PyPI) | = 0.21 | No fix listed |
| pypi weasyprint(PyPI) | = 0.22 | No fix listed |
| pypi weasyprint(PyPI) | = 0.23 | No fix listed |
| pypi weasyprint(PyPI) | = 0.24 | No fix listed |
Show 123 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi weasyprint(PyPI) | = 0.25 | No fix listed |
| pypi weasyprint(PyPI) | = 0.26 | No fix listed |
| pypi weasyprint(PyPI) | = 0.27 | No fix listed |
| pypi weasyprint(PyPI) | = 0.28 | No fix listed |
| pypi weasyprint(PyPI) | = 0.29 | No fix listed |
| pypi weasyprint(PyPI) | = 0.3 | No fix listed |
| pypi weasyprint(PyPI) | = 0.3.1 | No fix listed |
| pypi weasyprint(PyPI) | = 0.30 | No fix listed |
| pypi weasyprint(PyPI) | = 0.31 | No fix listed |
| pypi weasyprint(PyPI) | = 0.32 | No fix listed |
| pypi weasyprint(PyPI) | = 0.33 | No fix listed |
| pypi weasyprint(PyPI) | = 0.34 | No fix listed |
| pypi weasyprint(PyPI) | = 0.35 | No fix listed |
| pypi weasyprint(PyPI) | = 0.36 | No fix listed |
| pypi weasyprint(PyPI) | = 0.37 | No fix listed |
| pypi weasyprint(PyPI) | = 0.38 | No fix listed |
| pypi weasyprint(PyPI) | = 0.39 | No fix listed |
| pypi weasyprint(PyPI) | = 0.4 | No fix listed |
| pypi weasyprint(PyPI) | = 0.40 | No fix listed |
| pypi weasyprint(PyPI) | = 0.41 | No fix listed |
| pypi weasyprint(PyPI) | = 0.42 | No fix listed |
| pypi weasyprint(PyPI) | = 0.42.1 | No fix listed |
| pypi weasyprint(PyPI) | = 0.42.2 | No fix listed |
| pypi weasyprint(PyPI) | = 0.42.3 | No fix listed |
| pypi weasyprint(PyPI) | = 0.5 | No fix listed |
| pypi weasyprint(PyPI) | = 0.6 | No fix listed |
| pypi weasyprint(PyPI) | = 0.6.1 | No fix listed |
| pypi weasyprint(PyPI) | = 0.7 | No fix listed |
| pypi weasyprint(PyPI) | = 0.7.1 | No fix listed |
| pypi weasyprint(PyPI) | = 0.8 | No fix listed |
| pypi weasyprint(PyPI) | = 0.9 | No fix listed |
| pypi weasyprint(PyPI) | = 43 | No fix listed |
| pypi weasyprint(PyPI) | = 43rc1 | No fix listed |
| pypi weasyprint(PyPI) | = 43rc2 | No fix listed |
| pypi weasyprint(PyPI) | = 44 | No fix listed |
| pypi weasyprint(PyPI) | = 45 | No fix listed |
| pypi weasyprint(PyPI) | = 46 | No fix listed |
| pypi weasyprint(PyPI) | = 47 | No fix listed |
| pypi weasyprint(PyPI) | = 48 | No fix listed |
| pypi weasyprint(PyPI) | = 49 | No fix listed |
| pypi weasyprint(PyPI) | = 50 | No fix listed |
| pypi weasyprint(PyPI) | = 51 | No fix listed |
| pypi weasyprint(PyPI) | = 52 | No fix listed |
| pypi weasyprint(PyPI) | = 52.1 | No fix listed |
| pypi weasyprint(PyPI) | = 52.2 | No fix listed |
| pypi weasyprint(PyPI) | = 52.3 | No fix listed |
| pypi weasyprint(PyPI) | = 52.4 | No fix listed |
| pypi weasyprint(PyPI) | = 52.5 | No fix listed |
| pypi weasyprint(PyPI) | = 53.0 | No fix listed |
| pypi weasyprint(PyPI) | = 53.0b1 | No fix listed |
| pypi weasyprint(PyPI) | = 53.0b2 | No fix listed |
| pypi weasyprint(PyPI) | = 53.1 | No fix listed |
| pypi weasyprint(PyPI) | = 53.2 | No fix listed |
| pypi weasyprint(PyPI) | = 53.3 | No fix listed |
| pypi weasyprint(PyPI) | = 53.4 | No fix listed |
| pypi weasyprint(PyPI) | = 54.0 | No fix listed |
| pypi weasyprint(PyPI) | = 54.0b1 | No fix listed |
| pypi weasyprint(PyPI) | = 54.1 | No fix listed |
| pypi weasyprint(PyPI) | = 54.2 | No fix listed |
| pypi weasyprint(PyPI) | = 54.3 | No fix listed |
| pypi weasyprint(PyPI) | = 55.0 | No fix listed |
| pypi weasyprint(PyPI) | = 55.0b1 | No fix listed |
| pypi weasyprint(PyPI) | = 56.0 | No fix listed |
| pypi weasyprint(PyPI) | = 56.0b1 | No fix listed |
| pypi weasyprint(PyPI) | = 56.1 | No fix listed |
| pypi weasyprint(PyPI) | = 57.0 | No fix listed |
| pypi weasyprint(PyPI) | = 57.0b1 | No fix listed |
| pypi weasyprint(PyPI) | = 57.1 | No fix listed |
| pypi weasyprint(PyPI) | = 57.2 | No fix listed |
| pypi weasyprint(PyPI) | = 58.0 | No fix listed |
| pypi weasyprint(PyPI) | = 58.0b1 | No fix listed |
| pypi weasyprint(PyPI) | = 58.1 | No fix listed |
| pypi weasyprint(PyPI) | = 59.0 | No fix listed |
| pypi weasyprint(PyPI) | = 59.0b1 | No fix listed |
| pypi weasyprint(PyPI) | = 60.0 | No fix listed |
| pypi weasyprint(PyPI) | = 60.1 | No fix listed |
| pypi weasyprint(PyPI) | = 60.2 | No fix listed |
| pypi weasyprint(PyPI) | = 61.0 | No fix listed |
| pypi weasyprint(PyPI) | = 61.1 | No fix listed |
| pypi weasyprint(PyPI) | = 61.2 | No fix listed |
| pypi weasyprint(PyPI) | = 62.0 | No fix listed |
| pypi weasyprint(PyPI) | = 62.1 | No fix listed |
| pypi weasyprint(PyPI) | = 62.2 | No fix listed |
| pypi weasyprint(PyPI) | = 62.3 | No fix listed |
| pypi weasyprint(PyPI) | = 63.0 | No fix listed |
| pypi weasyprint(PyPI) | = 63.1 | No fix listed |
| pypi weasyprint(PyPI) | = 64.0 | No fix listed |
| pypi weasyprint(PyPI) | = 64.1 | No fix listed |
| pypi weasyprint(PyPI) | = 65.0 | No fix listed |
| pypi weasyprint(PyPI) | = 65.1 | No fix listed |
| pypi weasyprint(PyPI) | = 66.0 | No fix listed |
| pypi weasyprint(PyPI) | = 67.0 | No fix listed |
| debian/weasyprint(Debian:12) | All versions | No fix listed |
| debian/weasyprint(Debian:12) | = 57.2-1 | No fix listed |
| debian/weasyprint(Debian:12) | = 59.0-1 | No fix listed |
| debian/weasyprint(Debian:12) | = 60.2-1 | No fix listed |
| debian/weasyprint(Debian:12) | = 61.0-1 | No fix listed |
| debian/weasyprint(Debian:12) | = 61.1-1 | No fix listed |
| debian/weasyprint(Debian:12) | = 61.2-1 | No fix listed |
| debian/weasyprint(Debian:12) | = 61.2-2 | No fix listed |
| debian/weasyprint(Debian:12) | = 62.0-1 | No fix listed |
| debian/weasyprint(Debian:12) | = 62.1-1 | No fix listed |
| debian/weasyprint(Debian:12) | = 62.2-1 | No fix listed |
| debian/weasyprint(Debian:12) | = 62.3-1 | No fix listed |
| debian/weasyprint(Debian:12) | = 67.0-1 | No fix listed |
| debian/weasyprint(Debian:12) | = 69.0-1 | No fix listed |
| debian/weasyprint(Debian:12) | = 69.0-2 | No fix listed |
| debian/weasyprint(Debian:13) | All versions | No fix listed |
| debian/weasyprint(Debian:13) | = 62.3-1 | No fix listed |
| debian/weasyprint(Debian:13) | = 67.0-1 | No fix listed |
| debian/weasyprint(Debian:13) | = 69.0-1 | No fix listed |
| debian/weasyprint(Debian:13) | = 69.0-2 | No fix listed |
| debian/weasyprint(Debian:14) | < 69.0-1 | 69.0-1 |
| debian/weasyprint(Debian:14) | = 62.3-1 | No fix listed |
| debian/weasyprint(Debian:14) | = 67.0-1 | No fix listed |
| Kozea WeasyPrint | = < 68.0 | No fix listed |
| redhat ansible automation platform | All versions | No fix listed |
| ubuntu/weasyprint(Ubuntu:22.04) | All versions | No fix listed |
| redhat/ansible-automation-platform-tech-preview/automation-dashboard-rhel9(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| ubuntu/weasyprint(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/weasyprint(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/weasyprint(Ubuntu:26.10) | All versions | No fix listed |
| Kozea WeasyPrint | < 68.0 | 68.0 |
References
- https://github.com/Kozea/WeasyPrint/security/advisories/GHSA-983w-rhvv-gwmv exploit third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/Kozea/WeasyPrint/commit/b6a14f0f3f4ce9c0c75c1a2d73cb1c5d43f0e565 patch
- Red Hat CVE page mitigation vdb-entry vendor-advisory
- RHBZ#2430858 issue-tracking
- github.com product
- security.access.redhat.com
- pypi.org product
- github.com vendor-advisory
- Debian Security Tracker CVE-2025-68616 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking