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


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.69% (52nd 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-20877473
  • published13 Oct 2026
  • disclosed7 Oct 2026
  • creditsvinkros

Introduced: 7 Oct 2026

NewCVE-2026-106443  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

Upgrade weasyprint to version 70.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 EPS image rendering in weasyprint/images.py, which invokes Ghostscript to process EPS images. An attacker who can supply a malicious EPS image to be rendered can exploit Ghostscript vulnerabilities - even when the -dSAFER option is in use - to achieve arbitrary code execution or other impacts on the host system.

CVSS Base Scores

version 4.0
version 3.1