PT-2024-31594 · Npm · @Blakeembrey/Template
Filipeom
+1
·
Published
2024-09-03
·
Updated
2024-09-15
·
CVE-2024-45390
CVSS v3.1
7.3
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
Name of the Vulnerable Software and Affected Versions
@blakeembrey/template versions prior to 1.2.0
Description
The issue allows an attacker to inject and run code within the template if they have access to write the template name. This can be achieved by exploiting the template display name feature.
Recommendations
For versions prior to 1.2.0, upgrade to version 1.2.0 to fix the issue.
As a temporary workaround, do not pass untrusted input as the template display name, or do not use the display name feature.
Exploit
Fix
Code Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
@Blakeembrey/Template