Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe Your Environment
Describe the bug The form action on the multiple views utilizes $_SERVER['PHP_SELF']; insecurely. Any arbitrary input appended to the webroot URL, without any proper filtration would lead to an reflected XSS.
$_SERVER['PHP_SELF'];
To Reproduce Affected URL : http://localhost/zm/index.php/"><img src=x onerror=prompt('1');>?view=monitor
Payload used - "><img src=x onerror=prompt('1');>
"><img src=x onerror=prompt('1');>
Expected behavior
Debug Logs
None
The text was updated successfully, but these errors were encountered:
a97711d
No branches or pull requests
Describe Your Environment
Describe the bug
The form action on the multiple views utilizes
$_SERVER['PHP_SELF'];insecurely. Any arbitrary input appended to the webroot URL, without any proper filtration would lead to an reflected XSS.To Reproduce
Affected URL :
http://localhost/zm/index.php/"><img src=x onerror=prompt('1');>?view=monitor
Payload used -
"><img src=x onerror=prompt('1');>Expected behavior
Debug Logs
The text was updated successfully, but these errors were encountered: