Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2020-11022 — Proof-of-concept exploit for CVE-2020-11022, a DOM-based XSS vulnerability in jQuery versions below 3.5.0. Demonstrates payload injection via .html() method to trigger cross-site scripting. | Kitploit
Tools/GitHubGitHub/ibnurusdianto/cve-2020-11022
Vulnerability AnalysisExploitationWeb Application ExploitationWeb SecurityPenetration Testing
GitHubibnurusdianto/cve-2020-11022

CVE-2020-11022

Proof-of-concept exploit for CVE-2020-11022, a DOM-based XSS vulnerability in jQuery versions below 3.5.0. Demonstrates payload injection via .html() method to trigger cross-site scripting.

View Repository
174 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

So here's the thing

So here's the thing guys, CVE-2020-11022 is a vulnerability in jQuery versions below 3.5.0 or above, CVE-2020-11022 itself triggers an XSS by leveraging DOM Manipulation (e.g., .html(), .append(), and others) to execute malicious XSS code.

  1. Verify jQuery Version: Make sure the target uses a vulnerable jQuery version. This vulnerability applies to jQuery versions below 3.5.0 (versions 3.5.0 and above are patched).

  2. Identify Target Elements (Dump IDs): Collect (dump) all id attributes from the HTML elements on the page. This is done to find elements that the application might use as a sink to process input using DOM manipulation methods.

  3. Select an Element for Testing: Choose one element ID from the previous extraction results. For example, let's assume there is an element with the ID #error-msg.

  4. Execute the Payload: Trigger DOM manipulation by injecting the payload into the target sink (e.g., the .html() method).

  5. Injection syntax: $('#error-msg').html(payload)

    • Example payload used:
root@kitploit:~
<style><style />
  1. Validate Success (Execution): If vulnerable, the payload will bypass jQuery's old regex filter, and the script in the onerror attribute will be executed directly by the browser (Triggered/BOOM), displaying an alert as proof (Proof of Concept).
Download Tool