AploSec / Disclosures / CVE-2026-114491

Medium 6.9ReportedFixed 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

In plain words: this type of bug lets someone read or write files outside the folder they should be limited to (path traversal). A fixed release is listed.

Summary

CVE-2026-114491 affects pdfmake (npm) 0.3.8 before 0.3.12: Local file policy bypass via SVG images (CWE-73). Fixed in 0.3.12. CVSS 4.0 base score 6.9 (Medium), assigned by VulnCheck. Published 2026-10-21 by VulnCheck. Credit: Zachariah Mithani (AploSec).

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. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

Remediation

Upgrade pdfmake to 0.3.12 or later. Releases in the affected range (0.3.8 before 0.3.12) are vulnerable. See the linked advisory for details on affected release lines.

Timeline

  • 2026-10-21 CVE published
  • 2026-10-30 Public record last updated

References

Severity
Medium 6.9CVSS 4.0, scored by VulnCheck in the CVE record
Package
pdfmake
Ecosystem
npm
Affected
0.3.8 before 0.3.12
Fixed
0.3.12
Weakness
CWE-73
CNA
VulnCheck
Credit
Zachariah Mithani (AploSec)finder