Home / Strapi / Strapi / CVE-2023-22621
CVE-2023-22621: is it exploited, and which versions of Strapi are affected and fixed?
CVE-2023-22621 is an injection vulnerability in Strapi. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 19:09 UTC). Affected: @strapi/plugin-users-permissions before 4.5.6 and @strapi/plugin-email before 4.5.6 (GitHub advisory GHSA-2h87-4q2w-v4hf). Fixed in 4.5.6 (GitHub advisory GHSA-2h87-4q2w-v4hf). Severity: Critical (10.0, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 19:09 UTC, CVE record November 19, 2026, 07:13 UTC and NVD November 19, 2026, 07:39 UTC.
What is CVE-2023-22621?
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 by mitre, last updated November 7, 2025, 17:06 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | @strapi/plugin-users-permissions | < 4.5.6 | 4.5.6 | GHSA-2h87-4q2w-v4hf |
| npm | @strapi/plugin-email | < 4.5.6 | 4.5.6 | GHSA-2h87-4q2w-v4hf |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 1, 2023. Summary: Strapi plugins vulnerable to Server-Side Template Injection and Remote Code Execution in the Users-Permissions Plugin.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| strapi | strapi | from 3.0.0 before 4.5.6 | application |
NVD analysis (status Modified), last modified June 17, 2026, 05:35 UTC.
How severe is CVE-2023-22621?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 10.0 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H | CISA-ADP |
| High 7.2 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-22621 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, February 5, 2025)
- EPSS
- 70.6% probability of exploitation activity in the next 30 days, percentile 99.4 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component
Where are the vendor advisories and references?
- https://github.com/strapi/strapi/releases
- https://www.ghostccamm.com/blog/multi_strapi_vulns/
- https://strapi.io/blog/security-disclosure-of-vulnerabilities-cve
When was it published, and where is the official record?
- Reserved
- January 5, 2023
- Published
- April 19, 2023, 00:00 UTC
- CVE record updated
- November 7, 2025, 17:06 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 05:35 UTC
- Last checked
- CVE list November 19, 2026, 07:13 UTC; NVD November 19, 2026, 07:39 UTC; KEV December 3, 2026, 19:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Strapi?
- Apr 19, 2023CVE-2023-22894 Strapi: sensitive data stored in clear text exploited
- Oct 10, 2026CVE-2026-108114 strapi: incorrect authorization
- Sep 13, 2026CVE-2026-90561 strapi: cross-site scripting (XSS)
- Jun 29, 2026CVE-2026-57997 strapi: broken or risky cryptography
- May 14, 2026CVE-2026-27886 strapi: path traversal (reading or writing files outside the intended folder)
- May 14, 2026CVE-2026-22707 strapi: unrestricted file upload
- May 14, 2026CVE-2026-22706 strapi: session does not expire
- May 14, 2026CVE-2026-22599 strapi: SQL injection
Questions about CVE-2023-22621
Is CVE-2023-22621 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 19:09 UTC. FIRST's EPSS gives it a 70.6% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Strapi are affected by CVE-2023-22621?
@strapi/plugin-users-permissions before 4.5.6 and @strapi/plugin-email before 4.5.6, per the GitHub advisory GHSA-2h87-4q2w-v4hf. The tables above give every range the sources list.
Which version fixes CVE-2023-22621?
4.5.6, per the GitHub advisory GHSA-2h87-4q2w-v4hf. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-22621?
Critical (10.0, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2023-22621?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.