{"id":"CVE-2023-22621","details":"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.","aliases":["GHSA-2h87-4q2w-v4hf"],"modified":"2026-07-08T06:22:35.744904018Z","published":"2023-04-19T00:00:00Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/22xxx/CVE-2023-22621.json","cna_assigner":"mitre"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/22xxx/CVE-2023-22621.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-22621"},{"type":"PACKAGE","url":"https://github.com/strapi/strapi/releases"},{"type":"ARTICLE","url":"https://strapi.io/blog/security-disclosure-of-vulnerabilities-cve"},{"type":"ARTICLE","url":"https://www.ghostccamm.com/blog/multi_strapi_vulns/"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/strapi/strapi","events":[{"introduced":"6bb7a7f198b13b0780547285d4214704ce991c23"},{"fixed":"8f1988367c1ccbbb1c44866d9dc9fa512e4f3b31"}],"database_specific":{"source":["DESCRIPTION","CPE_RANGE"],"cpe":"cpe:2.3:a:strapi:strapi:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"4.5.5"},{"introduced":"3.0.0"},{"fixed":"4.5.6"}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-22621.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"}]}