Vulnerability library
Security checkOctober 22, 2025

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

Passing HTML containing <option> elements from untrusted sources - even after sanitizing them - 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.0.3, < 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 and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated October 22, 2025