Live threats

All CVEs / Kozea

CVE-2025-68616Kozea Weasyprint

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
—
Auth required
No
Published
Jan 19, 2026
Updated
Jul 15, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-601, CWE-918
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Weasyprint.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI weasyprint < 68.0 68.0 pip install "weasyprint>=68.0"
PyPI weasyprint < 68.0 68.0 pip install "weasyprint>=68.0"

Per OSV / GitHub Advisories (GHSA-983w-rhvv-gwmv, PYSEC-2026-2034). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
kozeaweasyprint< 68.0

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.