GHSA-xrjf-phvv-r4vr

    Dashboard / Vulnerabilities / GHSA-xrjf-phvv-r4vr

    GHSA-xrjf-phvv-r4vr

    Published: 27 Feb 2022Last Modified: 8 Nov 2023
    Aliases:

    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](https://github.com/strapi/strapi/blob/master/packages/generators/app/lib/utils/fetch-npm-template.js#L13), this happens due to improper sanitization of user input.

    Affected packages

    Package

    Name: strapi

    Purl: pkg:npm/strapi

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -4.1.0

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High