MEDIUM 6.1 npm

Cross-Site Scripting (XSS) in jquery

GHSA-rmxg-73gg-4p98 · CVE-2015-9251

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

Description

Affected versions of jquery interpret text/javascript responses from cross-origin ajax requests, and automatically execute the contents in jQuery.globalEval, even when the ajax request doesn't contain the dataType option.

Recommendation

Update to version 3.0.0 or later.

References

Ready to move

Start Securing

Free, no credit card | First findings in minutes