Skip to content
OpenAdvisories
Critical · 10.0 CVE-2022-46161 EUVD-2022-48992

Code injection in pdfmake

Published Dec 6, 2022 · Updated Apr 22, 2025 · Assigned by GitHub_M

Description

pdfmake is an open source client/server side PDF printing in pure JavaScript. In versions up to and including 0.2.5 pdfmake contains an unsafe evaluation of user controlled input. Users of pdfmake are thus subject to arbitrary code execution in the context of the process running the pdfmake code. There are no known fixes for this issue. Users are advised to restrict access to trusted user input.

Affected products

VendorProductAffectedFixed
bpampuch pdfmake <= 0.2.5 —

References