MEDIUM 6.1 npm

Command injection in strapi

GHSA-xrjf-phvv-r4vr · CVE-2022-0764

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

Description

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes