pug-code-gen
Affected
- introduced
0, fixed3.0.3(semver)
Fixed versions
3.0.3
Fix
- Fixed version
3.0.3npm install [email protected]
Advisory
Also known as: CVE-2024-36361
Pug allows JavaScript code execution if an application accepts untrusted input
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.
Medium Basis: The source's own band: MODERATE
0, fixed 3.0.3 (semver)3.0.3
3.0.3npm install [email protected]0, fixed 3.0.3 (semver)3.0.3
3.0.3npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0