Unsanitized User input in OS command
Overview
Description
Remediation Guidelines
let filePattern = "*.js" if (req.params.graphql) { filePattern = "*.gql" } cp.exec(`cp ${filePattern} foo`, (error, stdout, stderr) => {});
References
Configuration
PreviousUnsanitized User input in HTTP Send file requestNextUnsanitized user input in raw HTML strings (XSS)
Last updated