Skip to content
RED SAG Skills
easy5 pts · first answer countsweb-securityinjection

Running a shell command with user input

A Node API makes thumbnails like this. What is the safest fix?

exec('convert ' + req.query.file + ' -resize 100x100 out.png')
Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions