{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-22621","id":"CVE-2023-22621","title":"Strapi plugins vulnerable to Server-Side Template Injection and Remote Code Execution in the Users-Permissions Plugin","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.","descriptionLong":"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":"2023-04-19T00:00:00.000Z","updated":"2026-10-28T02:30:22.272712612Z","reserved":"2023-01-05T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"CISA-ADP"},{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"GitHub"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"version":"n/a","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"@strapi/plugin-users-permissions","purl":"pkg:npm/%40strapi/plugin-users-permissions","ranges":["<4.5.6"],"fixed":["4.5.6"],"advisory":"GHSA-2h87-4q2w-v4hf"},{"ecosystem":"npm","name":"@strapi/plugin-email","purl":"pkg:npm/%40strapi/plugin-email","ranges":["<4.5.6"],"fixed":["4.5.6"],"advisory":"GHSA-2h87-4q2w-v4hf"}],"cwes":["CWE-74"],"aliases":["GHSA-2h87-4q2w-v4hf"],"references":[{"url":"https://github.com/strapi/strapi/releases","tags":["x_transferred","Release Notes","package","web"]},{"url":"https://www.ghostccamm.com/blog/multi_strapi_vulns/","tags":["x_transferred","Exploit","Third Party Advisory","article"]},{"url":"https://strapi.io/blog/security-disclosure-of-vulnerabilities-cve","tags":["x_transferred","Vendor Advisory","article","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/22xxx/CVE-2023-22621.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-22621","tags":["advisory"]},{"url":"https://github.com/strapi/strapi/security/advisories/GHSA-2h87-4q2w-v4hf","tags":["web"]},{"url":"https://github.com/strapi/strapi/pull/15385","tags":["web"]},{"url":"https://github.com/strapi/strapi/commit/921d30961d6ba96cc098f2aea197350a49f990bd","tags":["web"]},{"url":"https://github.com/strapi/strapi","tags":["package"]},{"url":"https://github.com/strapi/strapi/releases/tag/v4.5.6","tags":["web"]},{"url":"https://www.ghostccamm.com/blog/multi_strapi_vulns","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.706,"epssPercentile":0.99404,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-22621","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-22621","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-22621","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-2h87-4q2w-v4hf","ok":true,"note":"GHSA-2h87-4q2w-v4hf"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-22621","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":["EPSS 71% with CVSS 7.2"],"attention":null}