CVEvulnerability

CVE-2022-46161

9.8 CRITICAL Published 2022-12-06 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2022-12-06
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
10.0 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS 3.1 ([email protected])
9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-94

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 configurations

• pdfmake pdfmake (<= 0.2.5)

Related

Weakness · CWE (1)

  • CWE-94 Improper Control of Generation of Code weakness

References