Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @strapi/plugin-users-permissions
  4. ›
  5. CVE-2023-22621

CVE-2023-22621: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

April 19, 2023

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. Learn more about Dependency Scanning →

Affected versions

All versions before 4.5.6

Fixed versions

  • 4.5.6

Solution

Upgrade to version 4.5.6 or above.

Impact 7.2 HIGH

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

npm/@strapi/plugin-users-permissions/CVE-2023-22621.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 13 May 2025 00:16:04 +0000.