Description
@blakeembrey/template is a string template library. Prior to version 1.2.0, it is possible to inject and run code within the template if the attacker has access to write the template name. Version 1.2.0 contains a patch. As a workaround, don't pass untrusted input as the template display name, or don't use the display name feature.
Metrics
CVSS 3.1 9.8/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| blakeembrey | js-template | < 1.2.0 |
| blakeembrey | js-template | < 1.2.0 |
References
Timeline
- Published
- Sep 3, 2024
- Last modified
- Jun 17, 2026
- NVD status
- Analyzed