Strapi plugins vulnerable to Server-Side Template Injection and Remote Code Execution in the Users-Permissions Plugin
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| @strapi/plugin-users-permissions npm |
|
|
| @strapi/plugin-email npm |
|
|
| Product | Affected | Fixed in |
|---|---|---|
| @strapi/plugin-users-permissions npm |
|
|
| @strapi/plugin-email npm |
|
|
Strapi through 4.5.5 allows authenticated Server-Side Template Injection (SSTI) that can be exploited to execute arbitrary code on the server. A remote attacker with access to the Strapi admin panel can inject a crafted payload that executes code on the server into an email template that bypasses the validation checks that should prevent code execution.
From the CVE record · mitre
Strapi versions before 4.5.6 are vulnerable to server-side template injection in email templates. A remote attacker with authenticated access to the Strapi admin panel can bypass validation checks and execute arbitrary code on the server.
Teams running npm @strapi/plugin-users-permissions or @strapi/plugin-email versions before 4.5.6 should check their installations.