Vulnerability · Published Apr 19, 2023 · Assigned by mitre
CVE-2023-22621
Critical 10.0
In plain English
A critical-severity injection in the @strapi/plugin-email package (npm). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 70.6% (higher than 99.4% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei, public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | @strapi/plugin-email | 4.5.6 | GHSA-2h87-4q2w-v4hf |
| npm | @strapi/plugin-users-permissions | 4.5.6 | GHSA-2h87-4q2w-v4hf |
Affected products (as reported)
Weakness: CWE-74 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H