Server-side Request Forgery (SSRF) Affecting weasyprint package, versions [0.12,68.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.06% (18th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Server-side Request Forgery (SSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-WEASYPRINT-15035957
  • published20 Jan 2026
  • disclosed19 Jan 2026
  • creditPedro Cruz

Introduced: 19 Jan 2026

CVE-2025-68616  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

Upgrade weasyprint to version 68.0 or higher.

Overview

weasyprint is a The Awesome Document Factory

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) via the default_url_fetcher function. An attacker can access internal network resources by exploiting automatic HTTP redirects that are not re-validated against security policies.

References

CVSS Base Scores

version 4.0
version 3.1