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

Unescaped HTML in value input #1595

Closed
jpzk opened this issue Sep 14, 2015 · 2 comments
Closed

Unescaped HTML in value input #1595

jpzk opened this issue Sep 14, 2015 · 2 comments

Comments

@jpzk
Copy link

jpzk commented Sep 14, 2015

Just for fun, I tried this in the example http://petstore.swagger.io/#!/pet/addPet

In the input field I entered: <h1>hello world<script>alert('test')</script></h1>. The script is executed in the curl paragraph. Probably it's not a big deal, nevertheless, I thought it would be good to inform you.

@webron
Copy link
Contributor

webron commented Sep 21, 2015

Thanks!

@webron webron added this to the v2.1.3 milestone Sep 21, 2015
@fehguy fehguy modified the milestone: v2.1.3 Jan 6, 2016
fehguy added a commit to swagger-api/swagger-js that referenced this issue Jun 16, 2016
@fehguy
Copy link
Contributor

fehguy commented Jun 16, 2016

fixed in efb7765

@fehguy fehguy closed this as completed Jun 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants