forked from OWASP/NodeGoat
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Stored_XSS issue exists @ app/data/profile-dao.js in branch master
Method function at line 98 of app\data\profile-dao.js gets data from the database, for the user element. This element’s value then flows through the code without being properly filtered or encoded and is eventually displayed to the user in method profile.getByUserId at line 12 of app\routes\profile.js. This may enable a Stored Cross-Site-Scripting attack.
Severity: High
CWE:79
Vulnerability details and guidance
Internal Guidance
Lines: 98
function(err, user) {
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels