Vulnerability library
Security checkJuly 09, 2026

Potential XSS vulnerability in jQuery - 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

Passing HTML from untrusted sources - even after sanitizing it - to one of jQuery’s DOM manipulation methods (i.e. .html(), .append(), and others) may execute untrusted code.

Recommendation

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

  • Affected version(s): >= 1.12.0, < 3.5.0
  • Patched version(s): 3.5.0

References

Could your website be exposed too?

SmartScanner can check your website for Potential XSS vulnerability in jQuery - jquery and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated July 09, 2026