Vulnerabilities/

Cross-Site Scripting in jquery

Severity:
Medium

Description

Versions of jquery prior to 1.9.0 are vulnerable to Cross-Site Scripting. The load method fails to recognize and remove <script> HTML tags that contain a whitespace character, i.e: </script >, which results in the enclosed script logic to be executed. This allows attackers to execute arbitrary JavaScript in a victim’s browser.

Recommendation

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

References

Related Issues

Tags:
npm
jquery
Anything's wrong? Let us know Last updated on October 10, 2024

This issue is available in SmartScanner Professional

See Pricing