Skip to content
New issue

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

Cross-Site Scripting (XSS) vulnerabilities #85

Open
l2dy opened this issue Sep 25, 2020 · 0 comments
Open

Cross-Site Scripting (XSS) vulnerabilities #85

l2dy opened this issue Sep 25, 2020 · 0 comments

Comments

@l2dy
Copy link

l2dy commented Sep 25, 2020

Server XSS occurs when untrusted user supplied data is included in an HTTP response generated by the server.
-- https://owasp.org/www-community/Types_of_Cross-Site_Scripting

<form action="<?=$page_name?>?action=modify_tools&id=<?=$_GET['id']?>&uname=<?=$_GET['uname']?>" method="post">

For example, both $_GET['id'] and $_GET['uname'] are user supplied data.

I'd recommend use of static code analysis tools like SonarQube for discovering basic XSS vulnerabilities.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant