Live threats

All CVEs / Strapi

CVE-2023-22621Strapi

High 7.2

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Strapi.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
strapistrapi≥ 3.0.0 < 4.5.6

Official sources

References

Links published by the sources. Open them with care.