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) vulnerability in "endpoint" input field #220

Open
ktk opened this issue Apr 14, 2023 · 2 comments · May be fixed by #223
Open

Cross-Site Scripting (XSS) vulnerability in "endpoint" input field #220

ktk opened this issue Apr 14, 2023 · 2 comments · May be fixed by #223

Comments

@ktk
Copy link

ktk commented Apr 14, 2023

There was a bug bounty event where a company had a look at YASAGUI, they discovered a potential Cross-Site Scripting (XSS) vulnerability in the "endpoint input field. When one submits the following input string to the "endpoint" field:

https://myendpoint.com/query<img/src='x'/onerror='alert(8)'>

YASGUI does not properly sanitize the input and renders the untrusted data as HTML code, which results in the execution of the JavaScript code contained in the onerror attribute.

Steps to Reproduce:

  • Navigate to the "endpoint" input field of the web application.
  • Enter the following input string:

https://myendpoint.com/query<img/src='x'/onerror='alert(8)'>

Submit the input.

@BenjaminHofstetter
Copy link

opened an issue here TarekRaafat/autoComplete.js#406

@BenjaminHofstetter
Copy link

It's mentioned in the autoComplete doc.
TarekRaafat/autoComplete.js#406 (comment)

@tpluscode tpluscode linked a pull request May 1, 2023 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants