#VU103495 Code Injection in Pug - CVE-2024-36361
Published: February 3, 2025 / Updated: February 7, 2025
Pug
Pugjs
Description
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to Pug allows JavaScript code execution if an application accepts untrusted input for the name option of the compileClient, compileFileClient, or compileClientWithDependenciesTracked function. A remote attacker can send a specially crafted request and execute arbitrary code on the target system.