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.
Metrics
CVSS 3.1 6.8/10
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:NWeakness enumeration
Affected software
No affected versions have been published.
Timeline
- Published
- May 24, 2024
- Last modified
- Jun 17, 2026
- NVD status
- Deferred