CVE-2023-22621
HIGH 7.2CVSS 3.1Strapi plugins vulnerable to Server-Side Template Injection and Remote Code Execution in the Users-Permissions Plugin
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.
- Published
- 19 Apr 2023
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-74
- Also known as
- GHSA-2h87-4q2w-v4hf
- Sources
- NVDJSONOSV GHSA-2h87-4q2w-v4hfJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | strapi | strapicpe:2.3:a:strapi:strapi:*:*:*:*:*:*:*:* |
>= 3.0.0, < 4.5.6 | 4.5.6 |
| OSV | npm | @strapi/plugin-users-permissions | < 4.5.6 | 4.5.6 |
| OSV | npm | @strapi/plugin-email | < 4.5.6 | 4.5.6 |
References
- https://github.com/strapi/strapi/releases · Release Notes, WEB
- https://strapi.io/blog/security-disclosure-of-vulnerabilities-cve · Vendor Advisory, WEB
- https://www.ghostccamm.com/blog/multi_strapi_vulns/ · Exploit, Third Party Advisory, WEB
- https://github.com/strapi/strapi/security/advisories/GHSA-2h87-4q2w-v4hf · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-22621 · ADVISORY
- https://github.com/strapi/strapi/pull/15385 · WEB
- https://github.com/strapi/strapi/commit/921d30961d6ba96cc098f2aea197350a49f990bd · WEB
- https://github.com/strapi/strapi · PACKAGE
- https://github.com/strapi/strapi/releases/tag/v4.5.6 · WEB
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 19 Apr 2023)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 19 Apr 2023)