En bref
- CVE-2024-36361 est une vulnérabilité MOYENNE (CVSS 6.8) touchant pug, pug-code-gen.
- Probabilité d'exploitation dans les 30 prochains jours (EPSS) : 0.49%, plus élevée que 42.4% des vulnérabilités.
- Correctif : mettre à jour vers 3.0.3 ou plus récent.
| 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