CVE-2023-22621
Strapi plugins vulnerable to Server-Side Template Injection and Remote Code Execution in the Users-Permissions Plugin
Overview
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.
Source: OX vulnerability database
Severity
7.2 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- High
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-74
Affected packages · 2
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| npm | @strapi/plugin-email | <4.5.6 | 4.5.6 |
| npm | @strapi/plugin-users-permissions | <4.5.6 | 4.5.6 |
Open a package to see all its vulnerabilities.
Operating systems
No Linux distribution reports this ID.
References
- github.com https://github.com/strapi/strapi
- github.com https://github.com/strapi/strapi/commit/921d30961d6ba96cc098f2aea197350a49f990bd
- github.com https://github.com/strapi/strapi/pull/15385
- github.com https://github.com/strapi/strapi/releases
- github.com https://github.com/strapi/strapi/releases/tag/v4.5.6
- github.com https://github.com/strapi/strapi/security/advisories/GHSA-2h87-4q2w-v4hf
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2023-22621
- strapi.io https://strapi.io/blog/security-disclosure-of-vulnerabilities-cve
- www.ghostccamm.com https://www.ghostccamm.com/blog/multi_strapi_vulns
- www.ghostccamm.com https://www.ghostccamm.com/blog/multi_strapi_vulns/
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.