Vulnerability library
Security checkSeptember 25, 2023

Cross-Site Scripting (XSS) in jquery

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpmjquery

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

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 scan

Related Issues

See something that needs correcting? Let us knowUpdated September 25, 2023