GHSA-g5v7-9x6w-f3xqMediumCVSS 5.3
pdfmake 0.3.8 before 0.3.12 fails to apply the setLocalAccessPolicy() restriction to images...
🔗 CVE IDs covered (1)
📋 Description
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.
🔗 References (6)
- https://nvd.nist.gov/vuln/detail/CVE-2026-114491
- https://github.com/bpampuch/pdfmake/commit/4ad4cbf2713568304dd4cbc3090bfb912a78dfdd
- https://github.com/bpampuch/pdfmake/blob/0.3.11/src/Renderer.js#L350-L372
- https://github.com/bpampuch/pdfmake/releases/tag/0.3.12
- https://www.vulncheck.com/advisories/pdfmake-0.3.8-before-0.3.12-local-file-policy-bypass-via-svg-images
- https://github.com/advisories/GHSA-g5v7-9x6w-f3xq