@blakeembrey/template vulnerable to code injection when attacker controls template input
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| blakeembrey | js-template | affected |
|
No data.
No data available yet.
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2024-2852 | @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. |
Github GHSA |
GHSA-q765-wm9j-66qj | @blakeembrey/template vulnerable to code injection when attacker controls template input |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.433% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Blakeembrey template
|
|
| CPEs | cpe:2.3:a:blakeembrey:template:*:*:*:*:*:node.js:*:* | |
| Vendors & Products |
Blakeembrey template
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Blakeembrey
Blakeembrey js-template |
|
| CPEs | cpe:2.3:a:blakeembrey:js-template:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Blakeembrey
Blakeembrey js-template |
|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | @blakeembrey/template vulnerable to code injection when attacker controls template input | |
| Weaknesses | CWE-94 | |
| References |
| |
| Metrics |
cvssV3_1
|