Vulnerability library
Security checkJanuary 14, 2026

jQuery vulnerable to Cross-Site Scripting (XSS)

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

Cross-site scripting (XSS) vulnerability in jQuery before 1.6.3, when using location.hash to select elements, allows remote attackers to inject arbitrary web script or HTML via a crafted tag.

Recommendation

Update the jquery package to the latest compatible version. Followings are version details:

  • Affected version(s): < 1.6.3
  • Patched version(s): 1.6.3

References

Could your website be exposed too?

SmartScanner can check your website for jQuery vulnerable to Cross-Site Scripting (XSS) and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated January 14, 2026