External Control of File Name or Path Affecting pdfmake package, versions >=0.3.8 <0.3.12


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.26% (17th 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-JS-PDFMAKE-21460716
  • published23 Oct 2026
  • disclosed21 Oct 2026
  • creditZachariah Mithani

Introduced: 21 Oct 2026

NewCVE-2026-114491  (opens in a new tab)
CWE-73  (opens in a new tab)

How to fix?

Upgrade pdfmake to version 0.3.12 or higher.

Overview

pdfmake is a Client/server side PDF printing in pure JavaScript

Affected versions of this package are vulnerable to External Control of File Name or Path via the SVG rendering path in src/Renderer.js, where local images embedded within SVG content bypass the setLocalAccessPolicy restriction. An attacker who can supply SVG content containing embedded local image references can read local files that the policy is intended to prohibit.

CVSS Base Scores

version 4.0
version 3.1