cve/2024/CVE-2024-36361.md
2025-09-29 21:09:30 +02:00

915 B

CVE-2024-36361

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.

POC

Reference

Github