Home / Kozea / WeasyPrint / CVE-2025-68616
CVE-2025-68616: is it exploited, and which versions of Kozea WeasyPrint are affected and fixed?
CVE-2025-68616 is an open redirect vulnerability in Kozea WeasyPrint. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:38 UTC). Affected: weasyprint before 68.0 (GitHub advisory GHSA-983w-rhvv-gwmv). Fixed in 68.0 (GitHub advisory GHSA-983w-rhvv-gwmv). Severity: High (7.5, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:38 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:14 UTC.
What is CVE-2025-68616?
WeasyPrint Vulnerable to 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.
From the CVE record by GitHub_M, last updated July 15, 2026, 01:24 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Kozea | WeasyPrint | < 68.0 |
As the CVE record by GitHub_M states it, last updated July 15, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | weasyprint | < 68.0 | 68.0 | GHSA-983w-rhvv-gwmv |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 2, 2026. Summary: WeasyPrint has a Server-Side Request Forgery (SSRF) Protection Bypass via HTTP Redirect.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| kozea | weasyprint | before 68.0 | application |
NVD analysis (status Modified), last modified July 15, 2026, 02:17 UTC.
How severe is CVE-2025-68616?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | GitHub_M |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | redhat-SADP |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-68616 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, January 20, 2026)
- EPSS
- 0.70% probability of exploitation activity in the next 30 days, percentile 54.5 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://github.com/Kozea/WeasyPrint/security/advisories/GHSA-983w-rhvv-gwmv x_refsource_CONFIRM
- https://github.com/Kozea/WeasyPrint/commit/b6a14f0f3f4ce9c0c75c1a2d73cb1c5d43f0e565 x_refsource_MISC
- https://access.redhat.com/security/cve/CVE-2025-68616 vdb-entry, x_refsource_REDHAT
- RHBZ#2430858 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-68616.json x_sadp-csaf-vex
When was it published, and where is the official record?
- Reserved
- December 19, 2025
- Published
- January 19, 2026, 15:20 UTC
- CVE record updated
- July 15, 2026, 01:24 UTC by GitHub_M
- NVD
- Modified, last modified July 15, 2026, 02:17 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:14 UTC; KEV December 3, 2026, 10:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect WeasyPrint?
- Oct 6, 2026CVE-2026-106443 Kozea WeasyPrint: improper input validation
- Sep 14, 2026CVE-2026-55073 Kozea WeasyPrint: server-side request forgery (SSRF)
- Aug 18, 2026CVE-2026-49452 Kozea WeasyPrint: injection
- Mar 9, 2024CVE-2024-28184 Kozea WeasyPrint: inclusion of code from an untrusted source
Questions about CVE-2025-68616
Is CVE-2025-68616 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:38 UTC. FIRST's EPSS gives it a 0.70% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Kozea WeasyPrint are affected by CVE-2025-68616?
weasyprint before 68.0, per the GitHub advisory GHSA-983w-rhvv-gwmv. The tables above give every range the sources list.
Which version fixes CVE-2025-68616?
68.0, per the GitHub advisory GHSA-983w-rhvv-gwmv. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-68616?
High (7.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-68616?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.