Command Injection in strapi
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
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | strapi | < 3.0.0-beta.17.8 | 3.0.0-beta.17.8 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-19609
- https://github.com/strapi/strapi/pull/4636
- https://bittherapy.net/post/strapi-framework-remote-code-execution
- https://github.com/strapi/strapi
- https://www.npmjs.com/advisories/1424
- http://packetstormsecurity.com/files/163940/Strapi-3.0.0-beta.17.7-Remote-Code-Execution.html
- http://packetstormsecurity.com/files/163950/Strapi-CMS-3.0.0-beta.17.4-Remote-Code-Execution.html
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-77- Platform
- npm
- Package
strapi- Disclosed
- 04.09.2020
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-9p2w-rmx4-9mw7 - CC BY 4.0
Vulnerability history: strapi
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 12
- First → latest
- 12.2019 09.2022
- Without a fix
- 3
- Exploited in attacks
- 0
Severity breakdown
- Critical 3
- High 6
- Medium 3
Disclosures per year
- 2019: 1
- 2020: 1
- 2021: 2
- 2022: 8
- 2023: 0
- 2024: 0
- 2025: 0
- 2026: 0
-
Command Injection in strapi this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.