GHSA-9p2w-rmx4-9mw7

Suggest an improvement
Source
https://github.com/advisories/GHSA-9p2w-rmx4-9mw7
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-9p2w-rmx4-9mw7/GHSA-9p2w-rmx4-9mw7.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-9p2w-rmx4-9mw7
Aliases
Published
2020-09-04T16:54:02Z
Modified
2025-12-29T16:10:52Z
Severity
  • 7.2 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Command Injection in strapi
Details

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

Database specific
{
    "cwe_ids": [
        "CWE-77"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2020-08-31T18:58:49Z",
    "nvd_published_at": null,
    "severity": "HIGH"
}
References

Affected packages

npm / strapi

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.0.0-beta.17.8

Database specific

last_known_affected_version_range
"<= 3.0.0-beta.17.7"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-9p2w-rmx4-9mw7/GHSA-9p2w-rmx4-9mw7.json"