CVE-2023-22621: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
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.
References
- github.com/advisories/GHSA-2h87-4q2w-v4hf
- github.com/strapi/strapi/commit/921d30961d6ba96cc098f2aea197350a49f990bd
- github.com/strapi/strapi/pull/15385
- github.com/strapi/strapi/releases
- github.com/strapi/strapi/releases/tag/v4.5.6
- github.com/strapi/strapi/security/advisories/GHSA-2h87-4q2w-v4hf
- nvd.nist.gov/vuln/detail/CVE-2023-22621
- strapi.io/blog/security-disclosure-of-vulnerabilities-cve
- www.ghostccamm.com/blog/multi_strapi_vulns/
Code Behaviors & Features
Detect and mitigate CVE-2023-22621 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →