GHSA-xrjf-phvv-r4vr

Suggest an improvement
Source
https://github.com/advisories/GHSA-xrjf-phvv-r4vr
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-xrjf-phvv-r4vr/GHSA-xrjf-phvv-r4vr.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-xrjf-phvv-r4vr
Aliases
Published
2022-02-27T00:00:15Z
Modified
2023-11-08T04:07:40.230520Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:L CVSS Calculator
Summary
Command injection in strapi
Details

When creating a strapi app using npxcreate-strapi-app, we can inject arbitrary commands through the template cli argument as per the code in this particular link, this happens due to improper sanitization of user input.

Database specific
{
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-77",
        "CWE-78"
    ],
    "severity": "MODERATE",
    "github_reviewed_at": "2022-03-01T21:42:15Z",
    "nvd_published_at": "2022-02-26T15:15:00Z"
}
References

Affected packages

npm / strapi

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.1.0