In breve
- CVE-2024-36361 è una vulnerabilità MEDIO (CVSS 6.8) che riguarda pug, pug-code-gen.
- Probabilità di sfruttamento nei prossimi 30 giorni (EPSS): 0.49%, superiore al 42.4% delle vulnerabilità.
- Correzione: aggiornare a 3.0.3 o successiva.
| Package | Affected versions | Patched versions |
|---|
| pug npm | < 3.0.3
| 3.0.3
|
| pug-code-gen npm | < 3.0.3
| 3.0.3
|
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.
NVD 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.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free