CVE-2025-26240 Affecting pdfkit package, versions *


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.39% (36th 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 IDSNYK-UBUNTU2204-PDFKIT-18022666
  • published10 Nov 2026
  • disclosed17 Jun 2026

Introduced: 17 Jun 2026

CVE-2025-26240  (opens in a new tab)

How to fix?

There is no fixed version for Ubuntu:22.04 pdfkit.

NVD Description

Note: Versions mentioned in the description apply only to the upstream pdfkit package and not the pdfkit package as distributed by Ubuntu. See How to fix? for Ubuntu:22.04 relevant fixed versions and status.

In JazzCore python-pdfkit 1.0.0, the from_string method enables the execution of JavaScript code within the context of the server application and the exfiltration of local files.