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 the jquery package to the latest compatible version. Followings are version details:
Affected version(s): **>= 1.12.3, < 3.0.0 < 1.12.2** Patched version(s): **3.0.0 1.12.2**
References
Could your website be exposed too?
SmartScanner can check your website for Cross-Site Scripting (XSS) in jquery and gives you actionable findings to investigate.
Start a free scanRelated Issues
- jQuery vulnerable to Cross-Site Scripting (XSS) - CVE-2011-4969
- Cross-Site Scripting in handlebars - CVE-2015-8861
- Cross-Site Scripting in jquery - jquery - CVE-2012-6708
- CKEditor 5 has Cross-site Scripting (XSS) in the HTML Support package - CVE-2026-28343


