patchminder
Weaponized · Nuclei CVE-2023-22621

Remote code executionin the @strapi/plugin-users-permissions package.

Published 19 Apr 2023 · Updated 7 Nov 2025 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Weaponized: a Nuclei exploit is public.

Attack code is public
Severity
Critical 10.0
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks. assessment · no login needed
Attack likelihood
Very high
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 70.6% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 4.5.6 or later
In plain words

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.

What to do now
  • Upgrade @strapi/plugin-users-permissions (npm) to 4.5.6 or later.
  • Upgrade @strapi/plugin-email (npm) to 4.5.6 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
n/a
Not confirmed
Not confirmed
CVE record
@strapi/plugin-users-permissions (npm)
before 4.5.6
4.5.6
GitHub advisory
@strapi/plugin-email (npm)
before 4.5.6
4.5.6
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 5 Jan 2023
    CVE ID reserved by mitre.
  2. 19 Apr 2023
    Published in the CVE List.
  3. 25 Apr 2023
    First public proof of concept on GitHub.
  4. 7 Nov 2025
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Weaponized (Nuclei). CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
Available
Exploit-DB
None known
GitHub proof of concepts
1 repository
GitHubno warning signs foundsofianeelhor/CVE-2023-22621-POC23 stars · created 25 Apr 2023CVE-2023-22621: SSTI to RCE by Exploiting Email Templates affecting Strapi Versions <=4.5.5

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other vulnerabilities in this package

Same weakness: Injection

All CWE-74 vulnerabilities

References
Cite this page

Patchminder. CVE-2023-22621: Remote code execution in the @strapi/plugin-users-permissions package. https://patchminder.com/cve/cve-2023-22621/ (accessed 5 December 2026).