CVE-2022-46161

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:pdfmake:pdfmake:*:*:*:*:*:*:*:*

History

20 Oct 2025, 15:56

Type Values Removed Values Added
First Time Pdfmake pdfmake
Pdfmake
CPE cpe:2.3:a:pdfmake_project:pdfmake:*:*:*:*:*:*:*:* cpe:2.3:a:pdfmake:pdfmake:*:*:*:*:*:*:*:*

Information

Published : 2022-12-06 19:15

Updated : 2025-10-20 15:56


NVD link : CVE-2022-46161

Mitre link : CVE-2022-46161

CVE.ORG link : CVE-2022-46161


JSON object : View

Products Affected

pdfmake

  • pdfmake
CWE
CWE-94

Improper Control of Generation of Code ('Code Injection')

NVD-CWE-Other