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

HTML input is not escaped #406

Open
6 tasks
BenjaminHofstetter opened this issue Apr 25, 2023 · 2 comments
Open
6 tasks

HTML input is not escaped #406

BenjaminHofstetter opened this issue Apr 25, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@BenjaminHofstetter
Copy link

  • System Information

    • Browser type and version: any
    • OS type and version: any
  • Describe the bug
    Potential Cross-Site Scripting (XSS) vulnerability

  • To Reproduce

  1. Go to https://tarekraafat.github.io/autoComplete.js/demo/
  2. paste <img/src='x'/onerror='alert(8)'> into the input field
  • Expected behavior
    HTML input is not escaped.
@folknor
Copy link

folknor commented Apr 26, 2023

https://tarekraafat.github.io/autoComplete.js/#/usage

xss

@tpluscode
Copy link

tpluscode commented May 1, 2023

Curious, what kind of flexibility is mentioned here?

When I type markup in a combo box, I do not see circumstances in which I'd want that added actual DOM to the page

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants