# CVE-2023-22621: Strapi plugins vulnerable to Server-Side Template Injection and Remote Code Execution in the Users-Permissions Plugin

- Severity: Critical 10.0 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 70.6%, higher than 99% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-04-19T00:00:00.000Z
- Modified: 2026-06-17T05:35:45.397Z
- Also known as: GHSA-2h87-4q2w-v4hf
- Weaknesses: CWE-74
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- @strapi/plugin-users-permissions (npm): before 4.5.6
- @strapi/plugin-email (npm): before 4.5.6
- strapi strapi: from 3.0.0 before 4.5.6

## Every score

- CISA-ADP: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://www.ghostccamm.com/blog/multi_strapi_vulns/> (exploit, third-party-advisory)
- <https://github.com/strapi/strapi/releases> (release-notes, web)
- <https://strapi.io/blog/security-disclosure-of-vulnerabilities-cve> (vendor-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)
- <https://www.ghostccamm.com/blog/multi_strapi_vulns> (web)

## Sources

- CVE List: [CVE-2023-22621](https://www.cve.org/CVERecord?id=CVE-2023-22621), CVE Terms of Use, modified 2025-11-07
- GitHub Advisory Database: [GHSA-2h87-4q2w-v4hf](https://github.com/advisories/GHSA-2h87-4q2w-v4hf), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2023-22621](https://nvd.nist.gov/vuln/detail/CVE-2023-22621), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-22621 · Whole record: https://cve.day/CVE-2023-22621.json · Rebuilt by cve.day 2026-11-25T22:58:23.644Z
