CVE-2025-68616
published high CVSS 3.1 · 7.5WeasyPrint Vulnerable to Server-Side Request Forgery (SSRF) Protection Bypass via HTTP Redirect
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Kozea | — | WeasyPrint< 68.0 | Affected | Not stated | GitHub_M |
| Red Hat | — | ansible-automation-platform-tech-preview/automation-dashboard-rhel9Red Hat Ansible Automation Platform 2 | Affected | Not stated | redhat-SADP |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-weasyprintnoarch | Advisory build | 65.1-bp160.2.1 | OPENSUSE-SU-2026:20069-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-weasyprintaarch64 | Advisory build | 68.0-1.1 | OPENSUSE-SU-2026:10079-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-weasyprintppc64le | Advisory build | 68.0-1.1 | OPENSUSE-SU-2026:10079-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-weasyprints390x | Advisory build | 68.0-1.1 | OPENSUSE-SU-2026:10079-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-weasyprintx86_64 | Advisory build | 68.0-1.1 | OPENSUSE-SU-2026:10079-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-weasyprintaarch64 | Advisory build | 68.0-1.1 | OPENSUSE-SU-2026:10079-1 |
Show 7 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-weasyprintppc64le | Advisory build | 68.0-1.1 | OPENSUSE-SU-2026:10079-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-weasyprints390x | Advisory build | 68.0-1.1 | OPENSUSE-SU-2026:10079-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-weasyprintx86_64 | Advisory build | 68.0-1.1 | OPENSUSE-SU-2026:10079-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-weasyprintaarch64 | Advisory build | 68.0-1.1 | OPENSUSE-SU-2026:10079-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-weasyprintppc64le | Advisory build | 68.0-1.1 | OPENSUSE-SU-2026:10079-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-weasyprints390x | Advisory build | 68.0-1.1 | OPENSUSE-SU-2026:10079-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-weasyprintx86_64 | Advisory build | 68.0-1.1 | OPENSUSE-SU-2026:10079-1 |
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.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.5 | high | redhat-SADP · adp | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Kozea | WeasyPrint | < 68.0 (affected) | GitHub_M · cna |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: affected | redhat-SADP · adp |
Weaknesses
3- CWE-601 CWE-601: URL Redirection to Untrusted Site ('Open Redirect')
- CWE-918 CWE-918: Server-Side Request Forgery (SSRF)
- CWE-918 Server-Side Request Forgery (SSRF)
References
5- https://access.redhat.com/security/cve/CVE-2025-68616
- RHBZ#2430858 https://bugzilla.redhat.com/show_bug.cgi?id=2430858
- https://github.com/Kozea/WeasyPrint/commit/b6a14f0f3f4ce9c0c75c1a2d73cb1c5d43f0e565
- https://github.com/Kozea/WeasyPrint/security/advisories/GHSA-983w-rhvv-gwmv
- https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-68616.json
Provider assertions
3GitHub_M · cna
WeasyPrint Vulnerable to Server-Side Request Forgery (SSRF) Protection Bypass via HTTP Redirect
redhat-SADP · adp
WeasyPrint: WeasyPrint Server-Side Request Forgery (SSRF)
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 5e0d948901c5b529af588683ddc677a15cea30a3284021d339c1b79059b59d6d
- Ingested
- 23 Sep 2026, 08:57:14 UTC
- Source record
- Official CVE record