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

XSS via DOM #71

Closed
cloudsorrow opened this issue Nov 26, 2011 · 1 comment
Closed

XSS via DOM #71

cloudsorrow opened this issue Nov 26, 2011 · 1 comment

Comments

@cloudsorrow
Copy link

The method success() in jquery.pjax.js sends unvalidated data to a web browser on line 160, which can result in the browser executing malicious code.

In jquery-pjax.js, line 160, the success method doesn't properly validate the malicious input returned from making the hash. Mind you, it is only as strong as the client protections enabled on the browser.

@josh
Copy link
Contributor

josh commented Jan 31, 2012

$.pjax functions the same way as $.ajax. Since it only allows same origin resources, its always coming from your server.

@josh josh closed this as completed Jan 31, 2012
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

2 participants