CVE catalog

CVE-2025-68616

weasyprint: CVE-2025-68616

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.70% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianweasyprintsid70.0-1fixed
Debianweasyprintforky70.0-1fixed
Debianweasyprinttrixie62.3-1vulnerable
Debianweasyprintbookworm57.2-1vulnerable
PyPIweasyprintNot reported68.0fixed
Opensusepython-weasyprintleap 16.065.1-bp160.2.1fixed
Opensusepython-weasyprinttumbleweed68.0-1.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianweasyprintsourcesid69.0-1not yet assignedNot reported[1139189]
Debianweasyprintsourceforky69.0-1not yet assignedNot reported[1139189]
Debianweasyprintsourcetrixie(unfixed)not yet assignedNot reported[1139189]
Debianweasyprintsourcebookworm(unfixed)not yet assignedNot reported[1139189]
PyPIweasyprintPyPINot reported68.0Not reportedNot reportedNot reported
Opensusepython-weasyprintrpmleap 16.065.1-bp160.2.1Not reportedOPENSUSE-SU-2026:20069-1Not reported
Opensusepython-weasyprintrpmtumbleweed68.0-1.1Not reportedOPENSUSE-SU-2026:10079-1Not reported

[Debian bug #1139189]

Notes

[trixie] weasyprint: Minor issue [bookworm] weasyprint: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [weasyprint]Affected
    Details (2)
    • 57.2-1 · all · bookworm

      Affected

      dsa · weasyprint · debian · bookworm; dsa · weasyprint · debian · 12

    • 57.2-1 · all · bookworm

      Affected

      dsa · weasyprint · debian · bookworm; dsa · weasyprint · debian · 12

[Debian 13 (Trixie)]

  • [weasyprint]Affected
    Details (2)
    • 62.3-1 · all · trixie

      Affected

      dsa · weasyprint · debian · 13

    • 62.3-1 · all · trixie

      Affected

      dsa · weasyprint · debian · 13

[openSUSE Tumbleweed]

  • Source package: [python-weasyprint]

    Details (1)
    • 69.0-1.1 · noarch · tumbleweed

      Unknown · Fixed: 68.0-1.1

      Version impact unknown

      dsa · python-weasyprint · opensuse · tumbleweed

  • Source package: [python-weasyprint]

    Details (1)
    • 69.0-1.1 · noarch · tumbleweed

      Unknown · Fixed: 68.0-1.1

      Version impact unknown

      dsa · python-weasyprint · opensuse · tumbleweed

Observed:

References