kartikdedhia / Riches

0 stars 2 forks source link

CX Stored_XSS @ riches/pages/FilesViewer.jsp [master] #12

Open kartikdedhia opened 5 years ago

kartikdedhia commented 5 years ago

Stored_XSS issue exists @ riches/pages/FilesViewer.jsp in branch master

Method reader.readLine at line 13 of riches\pages\FilesViewer.jsp gets data from the database, for the readLine 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 out.println at line 15 of riches\pages\FilesViewer.jsp. This may enable a Stored Cross-Site-Scripting attack.

Severity: High CWE:79 Checkmarx Lines: 13


Code (Line #13):

            line = reader.readLine();

kartikdedhia commented 4 years ago

Issue still exists.

kartikdedhia commented 4 years ago

Issue still exists.