Strapi through 4.5.5 allows authenticated Server-Side Template Injection (SSTI) that can be exploited to execute…
Fix:upgrade plugin-users-permissions and plugin-email Versions ↓
Strapi through 4.5.5, a headless CMS, contains a Server-Side Template Injection flaw in its email template functionality, where crafted input is rendered without proper neutralisation. An attacker who can reach the Strapi admin panel with valid credentials can submit a payload into an email template that bypasses the intended validation checks and executes arbitrary code on the server.
Official description · CVE.org
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.
- Exploited
- Yes, in VulnCheck KEV
- Reports
- 0
- Tactics
- 0/15
Exploitation timelineDated milestones for a CVE: when it was disclosed, when exploit code became public, when exploitation was confirmed, and when threat reports named it.
First seen exploited 3 years after disclosure. Public exploit code (PoC-in-GitHub) appeared 6 days after disclosure.
- Disclosedday 0
- Public exploit codePoC-in-GitHub+6 days
- First seen exploitedVulnCheck KEV evidence+3 yrs
Patch historyEarlier and later CVEs in the same code, in date order. It shows when a fix was bypassed or incomplete and which version finally fixed it.
4 fixes in @strapi/plugin-users-permissions over 7 months. The latest fix listed for @strapi/plugin-users-permissions is 4.13.1.
Fixes in @strapi/plugin-users-permissionsnpm package, by fixed version. Earlier and later fixes in the same package, not necessarily the same bug.
- 4.5.6CVE-2023-2262119 Apr 2023
- 4.6.0CVE-2023-2289319 Apr 2023
- 4.12.1CVE-2023-3850715 Sep 2023
- 4.13.1CVE-2023-393456 Nov 2023Latest listed
Am I affected? What do I upgrade to?
From GitHub Security Advisories and OSV2 packages in 1 ecosystem. No single main package: each of these ships the affected code.
- npm@strapi/plugin-users-permissionsAffected: All versions before 4.5.6Upgrade to 4.6.0 or later
- npm@strapi/plugin-emailAffected: All versions before 4.5.6Upgrade to 4.5.6 or later
What security researchers reported
Not named in any threat report yetAlso mentioned in 2 community threat pulses (AlienVault OTX)
Weaker evidencePulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.