A clean, whitespace-sensitive template language for writing HTML
latest non vulnerable version
10 years ago
latest version published
3 years ago
Known vulnerabilities in the pug package. This does not include vulnerabilities belonging to this package’s dependencies.Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
pug is an A clean, whitespace-sensitive template language for writing HTML
Affected versions of this package are vulnerable to Remote Code Execution (RCE). If a remote attacker was able to control the pretty option of the pug compiler, e.g. if you spread a user provided object such as the query parameters of a request into the pug template inputs, it was possible for them to achieve remote code execution on the node.js backend.
How to fix Remote Code Execution (RCE)?