CVEfocus › CVE database › CVE-2023-22621

CVE-2023-22621

CVSS 10.0 CriticalEPSS 15.8% (higher than 98% of CVEs)Published 2023-04-19Updated 2025-11-07Assigner: mitre

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.

CWE-74

What to do

Likely to be exploited: EPSS gives a 16% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.

Fixed builds are available from npm: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
npm library@strapi/plugin-emailFixed4.5.6GHSA-2h87-4q2w-v4hf
npm library@strapi/plugin-users-permissionsFixed4.5.6GHSA-2h87-4q2w-v4hf

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.