CVE-2022-46161 CRITICAL

CVE-2022-46161: Code injection in pdfmake

Vendor Bpampuch
Product pdfmake
Weakness CWE-94 · Code injection
Published December 6, 2022
Last update April 22, 2025

CVSS base score

10.0/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

December 6, 2022 CVE published
April 22, 2025 Record updated

Related vulnerabilities

04Related CVE