The printDirect function in lib/printer.js in the node-printer module 0.0.1 and earlier for Node.js allows remote attackers to execute arbitrary commands via unspecified characters in the lpr command.
https://nodesecurity.io/advisories/printer_potential_command_injection
http://www.openwall.com/lists/oss-security/2014/05/15/2
http://www.openwall.com/lists/oss-security/2014/05/13/1
https://github.com/tojocky/node-printer/commit/e001e38738c17219a1d9dd8c31f7d82b9c0013c7
Source: Mitre, NVD
Published: 2017-10-23
Updated: 2026-05-13
Base Score: 7.5
Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P
Severity: High
Base Score: 9.8
Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Severity: Critical
EPSS: 0.01973