CVE-2022-46161

Code injection in pdfmake

Published Dec 6, 2022 CVSS 3.1 · 10 Critical EPSS 1.8% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-48992 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.
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Pdfmake
Pdfmake pdfmake
CPEs cpe:2.3:a:pdfmake_project:pdfmake:*:*:*:*:*:*:*:* cpe:2.3:a:pdfmake:pdfmake:*:*:*:*:*:*:*:*
Vendors & Products Pdfmake Project
Pdfmake Project pdfmake
Pdfmake
Pdfmake pdfmake
Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Apr 22, 2025, 3:58 PM
Reserved
Nov 28, 2022, 5:27 PM
Status
Modified
Published
Dec 6, 2022, 7:15 PM
Modified
Jun 17, 2026, 5:11 AM