Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. strapi
  4. ›
  5. GMS-2020-779

GMS-2020-779: Command Injection in strapi

September 4, 2020 (updated October 4, 2021)

Versions of strapi before 3.0.0-beta.17.8 are vulnerable to Command Injection. The package fails to sanitize plugin names in the /admin/plugins/install/ route. This may allow an authenticated attacker with admin privileges to run arbitrary commands in the server.

Recommendation

Upgrade to version 3.0.0-beta.17.8 or later

References

  • github.com/advisories/GHSA-9p2w-rmx4-9mw7
  • www.npmjs.com/advisories/1424

Code Behaviors & Features

Detect and mitigate GMS-2020-779 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 up to 3.0.0-beta.17.7

Fixed versions

  • 3.0.0-beta.17.8

Solution

Upgrade to version 3.0.0-beta.17.8 or above. *Note*: 3.0.0-beta.17.8 may be an unstable version. Use caution.

Source file

npm/strapi/GMS-2020-779.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:14:42 +0000.