CVE-2023-22621Strapi
High 7.2
Follow: this CVE · Strapi · Strapi We alert you by email or Slack (account required).
- Priority
- 43
- CVSS 3.1
- 7.2
- EPSS
- —
- Auth required
- Yes
- Published
- Apr 19, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-74
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Strapi.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | @strapi/plugin-email |
< 4.5.6 |
4.5.6 |
npm install @strapi/plugin-email@4.5.6 |
| npm | @strapi/plugin-users-permissions |
< 4.5.6 |
4.5.6 |
npm install @strapi/plugin-users-permissions@4.5.6 |
Per OSV / GitHub Advisories (GHSA-2h87-4q2w-v4hf). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| strapi | strapi | ≥ 3.0.0 < 4.5.6 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Release Notes
- strapi.io Vendor Advisory
- www.ghostccamm.com Exploit Third Party Advisory