# CVE-2025-68616: WeasyPrint Vulnerable to Server-Side Request Forgery (SSRF) Protection Bypass via HTTP Redirect

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 68.0 (CNA); fix release not confirmed
- Status: published
- Published: 2026-01-19 · Modified: 2026-07-15
- Aliases: GHSA-983w-rhvv-gwmv, PYSEC-2026-2034, UBUNTU-CVE-2025-68616, DEBIAN-CVE-2025-68616, openSUSE-SU-2026:10079-1, openSUSE-SU-2026:20069-1
- Record: https://cvemate.com/vulnerability/CVE-2025-68616 · JSON: https://cvemate.com/vulnerability/CVE-2025-68616/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS: 0.702%, percentile 54.624%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- debian weasyprint (Debian): All versions (No fix recorded) \| \< 69.0-1
- ubuntu weasyprint (Ubuntu): All versions (No fix recorded)
- kozea weasyprint: \< 68.0
- PyPI weasyprint (PyPI): \< 68.0
- opensuse python-weasyprint&distro=openSUSE Leap 16.0 (openSUSE): \< 65.1-bp160.2.1
- opensuse python-weasyprint&distro=openSUSE Tumbleweed (openSUSE): \< 68.0-1.1

## References

- <https://github.com/Kozea/WeasyPrint/security/advisories/GHSA-983w-rhvv-gwmv>
- <https://github.com/Kozea/WeasyPrint/commit/b6a14f0f3f4ce9c0c75c1a2d73cb1c5d43f0e565>
- <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>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-68616>
- <https://github.com/Kozea/WeasyPrint>
- <https://pypi.org/project/weasyprint>
- <https://github.com/advisories/GHSA-983w-rhvv-gwmv>
- <https://ubuntu.com/security/CVE-2025-68616>
- <https://www.cve.org/CVERecord?id=CVE-2025-68616>
- <https://security-tracker.debian.org/tracker/CVE-2025-68616>
- <https://www.suse.com/security/cve/CVE-2025-68616>
- <https://bugzilla.suse.com/1256936>

---

Data as of 2026-12-05T09:45:13.178Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
