CVE-2024-36361 Information

Description

Pug through 3.0.2 allows JavaScript code execution if an application accepts untrusted input for the name option of the compileClient compileFileClient or compileClientWithDependenciesTracked function. NOTE: these functions are for compiling Pug templates into JavaScript and there would typically be no reason to allow untrusted callers.

Reference

https://github.com/pugjs/pug/pull/3428 https://pugjs.org/api/reference.html

Share on: