AploSec / Disclosures / CVE-2026-114491

ReproducedFixed in 0.3.12CWE-73npm

pdfmake 0.3.8 before 0.3.12 Local File Policy Bypass via SVG Images

CVE-2026-114491 · published 2026-10-21

Summary

pdfmake 0.3.8 before 0.3.12 fails to apply the setLocalAccessPolicy() restriction to images referenced inside SVG content, allowing attackers to read blocked local files. Attackers supplying a document definition can add an SVG image href pointing to a local path, embedding restricted file contents in the generated PDF.

Evidence

Reported to the maintainer with a proof of concept that reproduced against the affected release.

Remediation

Upgrade pdfmake to 0.3.12 or later.

References

Package
pdfmake
Ecosystem
npm
Weekly downloads
1.6M
Affected
0.3.8 before 0.3.12
Fixed
0.3.12
Weakness
CWE-73
CNA
VulnCheck
Credit
Zachariah Mithani