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

vulnerability in jquery #3927

Closed
ammy1999 opened this issue Jan 8, 2018 · 3 comments
Closed

vulnerability in jquery #3927

ammy1999 opened this issue Jan 8, 2018 · 3 comments

Comments

@ammy1999
Copy link

ammy1999 commented Jan 8, 2018

Hello, please I would like to test the security of my project and when I scan it , I found a vulnerability : `jquery 3.2.1 [VULNERABLE] 7 known vulnerabilities, 1 affecting installed version

[CVE-2007-2379] The jQuery framework exchanges data using JavaScript Object Notation (JSON) with...
The jQuery framework exchanges data using JavaScript Object Notation (JSON) without an associated protection scheme, which allows remote attackers to obtain the data via a web page that retrieves the data through a URL in the SRC attribute of a SCRIPT element and captures the data using other JavaScript code, aka "JavaScript Hijacking."

`
so How can I suppress it , thanks :)

@ammy1999 ammy1999 changed the title vulnarability in jquery vulnerability in jquery Jan 8, 2018
@timmywil
Copy link
Member

timmywil commented Jan 8, 2018

Thanks for opening an issue. jQuery is a lower-level library that has convenience wrappers around native APIs. jQuery itself is not vulnerable, but you can do things with jQuery that would compromise the security of your site, just like you can do things with vanilla JS. These "7 known vulnerabilities" are in many ways ridiculous. Ultimately, users are responsible for the security of their sites. While jQuery still does it's best to keep users from making silly mistakes, jQuery can be misused and abused in many ways and it would be impossible to have impenetrable safeguards for all of them.

The point is, there may actually be nothing wrong on your site, but I can tell you that this warning doesn't help you at all.

@timmywil timmywil closed this as completed Jan 8, 2018
@ammy1999
Copy link
Author

ammy1999 commented Jan 8, 2018

Thanks Timmywil for your response,
please , how can I don't show jquery as a vulnerablity , for example, in maven project I found the suppress code , what about the node js project !!

@dmethvin
Copy link
Member

dmethvin commented Jan 8, 2018

The scan tool may have some option to prevent specific vulnerabilities from being shown if you know you are unaffected. That is beyond the scope of this jQuery bug tracker though, you would need to look at their docs.

@lock lock bot locked as resolved and limited conversation to collaborators Jul 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

3 participants