Unsanitized User Input in Resource Rendering
Overview
Description
Remediation Guidelines
res.render(req.body.page); // unsafe System.out.println(e); // Unsafevar path = req.body.path; if (['users', 'posts', 'pages'].includes(path)) { return res.render(`${path}/success`); }
References
Configuration
Last updated