Http Vulnerable Library From Cdn

Description

Detects the inclusion of jQuery version 2.2.4 from CDN sources, which contains known security vulnerabilities. Using this outdated version could expose applications to cross-site scripting (XSS) and other security issues that were patched in later versions.

Detection Strategy

    Scans HTML content for <script> tags that load external JavaScript files

    Checks if the script source URL (src attribute) contains '/jquery/2.2.4/'

    Reports a vulnerability when jQuery 2.2.4 is found being loaded from any CDN source