En bref
- CVE-2019-20920 est une vulnérabilité ÉLEVÉE (CVSS 8.1) touchant handlebars (handlebarsjs), handlebars.
- Probabilité d'exploitation dans les 30 prochains jours (EPSS) : 3.2%, plus élevée que 88.0% des vulnérabilités.
- Correctif : mettre à jour vers 4.5.3, 3.0.8 ou plus récent.
| Package | Affected versions | Patched versions |
|---|
| handlebars | ≥ 4.0.0, < 4.5.3< 3.0.8
| 4.5.33.0.8
|
| handlebars npm | ≥ 4.0.0, < 4.5.3< 3.0.8
| 4.5.33.0.8
|
Description
Handlebars before 3.0.8 and 4.x before 4.5.3 is vulnerable to Arbitrary Code Execution. The lookup helper fails to properly validate templates, allowing attackers to submit templates that execute arbitrary JavaScript. This can be used to run arbitrary code on a server processing Handlebars templates or in a victim's browser (effectively serving as XSS).
NVD description
Handlebars before 3.0.8 and 4.x before 4.5.3 is vulnerable to Arbitrary Code Execution. The lookup helper fails to properly validate templates, allowing attackers to submit templates that execute arbitrary JavaScript. This can be used to run arbitrary code on a server processing Handlebars templates or in a victim's browser (effectively serving as XSS).
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free