Reflected_XSS_All_Clients issue exists @ dvwa/includes/dvwaPage.inc.php in branch master
Method dvwaSecurityLevelGet at line 135 of dvwa\includes\dvwaPage.inc.php gets user input for the _COOKIE element. This element’s value then flows through the code without being properly sanitized or validated and is eventually displayed to the user in method dvwaHtmlEcho at line 183 of dvwa\includes\dvwaPage.inc.php. This may enable a Cross-Site-Scripting attack.
Reflected_XSS_All_Clients issue exists @ dvwa/includes/dvwaPage.inc.php in branch master
Method dvwaSecurityLevelGet at line 135 of dvwa\includes\dvwaPage.inc.php gets user input for the _COOKIE element. This element’s value then flows through the code without being properly sanitized or validated and is eventually displayed to the user in method dvwaHtmlEcho at line 183 of dvwa\includes\dvwaPage.inc.php. This may enable a Cross-Site-Scripting attack.
Severity: High
CWE:79
Vulnerability details and guidance
Internal Guidance
Checkmarx
Training Recommended Fix
Lines: 112 136
Code (Line #112):
Code (Line #136):