Don’t let overlooked obligations become incidents. Learn how.
Utility navigation bar redirect icon
Portal LoginSupportContact
Search
Close search
Huntress Logo in Teal
  • Platform Overview
    Managed EDR

    Get full endpoint visibility, detection, and response.

    Managed EDR

    Get full endpoint visibility, detection, and response.

    Managed ITDR

    Protect your Microsoft 365 and Google Workspace identities and email environments.

    Managed ITDR

    Protect your Microsoft 365 and Google Workspace identities and email environments.

    Managed SIEM

    Managed threat response and robust compliance support at a predictable price.

    Managed SIEM

    Managed threat response and robust compliance support at a predictable price.

    Managed Security Awareness Training

    Empower your teams with science-backed security awareness training.

    Managed Security Awareness Training

    Empower your teams with science-backed security awareness training.

    Managed ISPM

    Continuous Microsoft 365 and identity hardening, managed and enforced by Huntress experts.

    Managed ISPM

    Continuous Microsoft 365 and identity hardening, managed and enforced by Huntress experts.

    Managed ESPM

    Proactively secure endpoints against attacks.

    Managed ESPM

    Proactively secure endpoints against attacks.

    Integrations
    Integrations
    Support Documentation
    Support Documentation
    See Huntress in Action

    Quickly deploy and manage real-time protection for endpoints, email, and employees - all from a single dashboard.

    Huntress Cybersecurity
    See Huntress in Action

    Quickly deploy and manage real-time protection for endpoints, email, and employees - all from a single dashboard.

    Huntress Cybersecurity
  • Threats We Stop
    Phishing
    Phishing
    Business Email Compromise
    Business Email Compromise
    Ransomware
    Ransomware
    Infostealers
    Infostealers
    View Allright arrowView Allright arrow
    Industries We Serve
    Education
    Education
    Financial Services
    Financial Services
    State and Local Government
    State and Local Government
    Healthcare
    Healthcare
    Law Firms
    Law Firms
    Manufacturing
    Manufacturing
    Utilities
    Utilities
    View Allright arrowView Allright arrow
    Tailored Solutions
    MSPs
    MSPs
    Resellers
    Resellers
    SMBs
    SMBs
    Compliance
    Compliance
    What Gets Overlooked Gets Exploited

    Most days, nothing happens. But one day, something will.

    Huntress Cybersecurity
    Cybercriminals Have Evolved

    Get the intel on today’s cybercriminal groups and learn how to protect yourself.

    Huntress Cybersecurity
  • Pricing
  • Community Series
    The Product Lab

    Shape the next big thing in cybersecurity together.

    The Product Lab

    Shape the next big thing in cybersecurity together.

    Fireside Chat

    Real people. Real perspectives. Better conversations.

    Fireside Chat

    Real people. Real perspectives. Better conversations.

    Tradecraft Tuesday

    No products, no pitches – just tradecraft.

    Tradecraft Tuesday

    No products, no pitches – just tradecraft.

    _declassified

    Exposing hidden truths in the world of cybersecurity.

    _declassified

    Exposing hidden truths in the world of cybersecurity.

    Resources
    Upcoming Events
    Upcoming Events
    Ebooks
    Ebooks
    On-Demand Webinars
    On-Demand Webinars
    Videos
    Videos
    Whitepapers
    Whitepapers
    Datasheets
    Datasheets
    Cybersecurity Education
    Cybersecurity 101
    Cybersecurity 101
    Cybersecurity Guides
    Cybersecurity Guides
    Threat Library
    Threat Library
    Real Tradecraft, Real Results
    Real Tradecraft, Real Results
    2026 Cyber Threat Report
    2026 Cyber Threat Report
    The Huntress Blog
    Huntress Lands on the Microsoft Marketplace
    Huntress Cybersecurity
    Huntress Lands on the Microsoft Marketplace
    Huntress Cybersecurity
    How Huntress & DEFCERT Are Streamlining CMMC Assessment Prep
    Huntress Cybersecurity
    How Huntress & DEFCERT Are Streamlining CMMC Assessment Prep
    Huntress Cybersecurity
    Live Hacking Into Microsoft 365 with Kyle Hanslovan
    Huntress Cybersecurity
    Live Hacking Into Microsoft 365 with Kyle Hanslovan
    Huntress Cybersecurity
  • Why Huntress

    Go beyond AI in the fight against today’s hackers with Huntress Managed EDR purpose-built for your needs

    Huntress Cybersecurity
    Why Huntress

    Go beyond AI in the fight against today’s hackers with Huntress Managed EDR purpose-built for your needs

    Huntress Cybersecurity
    The Huntress SOC

    24/7 Security Operations Center

    The Huntress SOC

    24/7 Security Operations Center

    Reviews

    Why businesses of all sizes trust Huntress to defend their assets

    Reviews

    Why businesses of all sizes trust Huntress to defend their assets

    Case Studies

    Learn directly from our partners how Huntress has helped them

    Case Studies

    Learn directly from our partners how Huntress has helped them

    Community

    Get in touch with the Huntress Community team

    Community

    Get in touch with the Huntress Community team

    Compare Huntress
    Bitdefender
    Bitdefender
    Blackpoint
    Blackpoint
    Breach Secure Now!
    Breach Secure Now!
    Crowdstrike
    Crowdstrike
    Datto
    Datto
    SentinelOne
    SentinelOne
    Sophos
    Sophos
    Compare Allright arrowCompare Allright arrow
  • HUNTRESS HUB

    Login to access top-notch marketing resources, tools, and training.

    Huntress Cybersecurity
    HUNTRESS HUB

    Login to access top-notch marketing resources, tools, and training.

    Huntress Cybersecurity
    Partners
    MSPs

    Join our partner community to deliver expert-led managed security.

    MSPs

    Join our partner community to deliver expert-led managed security.

    Resellers

    Partner program designed to grow your cybersecurity business.

    Resellers

    Partner program designed to grow your cybersecurity business.

    Tech Alliances

    Driving innovation through global technology Partnerships

    Tech Alliances

    Driving innovation through global technology Partnerships

    Microsoft Partnership

    A Level-Up for Your Business Security

    Microsoft Partnership

    A Level-Up for Your Business Security

  • Press Release
    Huntress Announces Collaboration with Microsoft to Strengthen Cybersecurity for Businesses of All Sizes
    Huntress Cybersecurity
    Press Release
    Huntress Announces Collaboration with Microsoft to Strengthen Cybersecurity for Businesses of All Sizes
    Huntress Cybersecurity
    Our Story

    We're on a mission to shatter the barriers to enterprise-level security.

    Our Story

    We're on a mission to shatter the barriers to enterprise-level security.

    Newsroom

    Explore press releases, news articles, media interviews and more.

    Newsroom

    Explore press releases, news articles, media interviews and more.

    Meet the Team

    Founded by former NSA Cyber Operators. Backed by security researchers.

    Meet the Team

    Founded by former NSA Cyber Operators. Backed by security researchers.

    Careers

    Ready to shake up the cybersecurity world? Join the hunt.

    Careers

    Ready to shake up the cybersecurity world? Join the hunt.

    Awards
    Awards
    Contact Us
    Contact Us
  • Portal Login
  • Support
  • Contact
  • Search
  • Get a Demo
  • Start for Free
Portal LoginSupportContact
Search
Close search
Get a Demo
Start for Free
HomeThreat LibraryVulnerabilities
CVE-2020-11023

CVE-2020-11023 Vulnerability

Published: 12/16/2025

Written by: Nadine Rozell

Glitch effectGlitch effect

What is CVE-2020-11023 Vulnerability?

CVE-2020-11023 is a DOM-based cross-site scripting (XSS) vulnerability in jQuery's htmlPrefilter function. In plain English, the function, which is supposed to prepare HTML for insertion into the document, can be tricked into executing malicious code. Attackers can exploit this by crafting HTML that, when processed by a vulnerable version of jQuery, executes a malicious script in the user's browser. This is a classic XSS problem with a massive attack surface due to jQuery's ubiquity.

When was it discovered?

The vulnerability was disclosed on May 28, 2020. The jQuery team released patches to address the issue, but since many websites run on older, "set-it-and-forget-it" versions of the library, the vulnerability remains a persistent threat across the internet.

Affected Products & Versions

Product

Versions Affected

Fixed Version

jQuery

< 3.5.0

3.5.0 and later

CVE-2020-11023 technical description

The vulnerability exists in how jQuery's htmlPrefilter function handles self-closing HTML tags. Before version 3.5.0, the function used a regular expression that could be bypassed. An attacker can pass a string containing a crafted HTML payload (e.g., <img src=x onerror=alert(1)>) to a function like .html(). jQuery's htmlPrefilter would fail to properly sanitize this input, causing the browser to execute the malicious script contained in the onerror attribute. This script runs with the same permissions as the site itself, allowing the attacker to steal cookies, session tokens, or manipulate the page content.

Tactics, Techniques & Procedures (TTPs)

An attacker typically exploits CVE-2020-11023 by tricking a user into clicking a malicious link or by injecting the payload into a part of the website that reflects user input, like a search bar or comment section. Once the victim's browser loads the crafted HTML, the XSS payload executes. Attackers use this to steal sensitive information (like login credentials stored in cookies), deface websites, or redirect users to phishing pages.

Indicators of Compromise

Detecting DOM-based XSS can be tricky because the payload often doesn't touch the server. Indicators are primarily client-side. Look for suspicious scripts executing in the browser's developer console. Website administrators should audit their applications for outdated jQuery versions. Security scanning tools, both static (SAST) and dynamic (DAST), can identify the use of vulnerable library versions and test for XSS flaws in user-supplied input fields.

Known Proof-of-Concepts & Exploits

Proof-of-concept exploits for this vulnerability are widely available and simple to execute. A basic PoC involves passing a string like

How to detect CVE-2020-11023 Vulnerability?

Detection starts with identifying which version of jQuery your web applications are using. You can do this by checking your project's dependencies or by using the browser's developer tools to inspect the loaded scripts. Automated tools like OWASP Dependency-Check or commercial software composition analysis (SCA) tools can scan your codebase for this and other known library vulnerabilities. Regular web application vulnerability scans will also help identify exploitable XSS vectors.

Impact & risk of CVE-2020-11023 Vulnerability

A successful exploit can have a serious impact on both the website's users and its owner. For users, it can lead to account compromise, data theft, and being redirected to malicious sites. For the business, it can result in reputational damage, loss of user trust, and potential regulatory fines if sensitive data is exposed. Since the exploit happens in the user's browser, it can be difficult to trace, but the damage to your brand's credibility is immediate.

Mitigation & remediation strategies

The primary mitigation strategy is simple: update jQuery to version 3.5.0 or later. This is the most effective fix. If updating is not immediately possible, you must implement strict input validation and output encoding on all user-supplied data that is rendered on a page. Using a Content Security Policy (CSP) can also provide an additional layer of defense by restricting the sources from which scripts can be executed, making it harder for XSS payloads to run.

CVE-2020-11023 Vulnerability FAQs

CVE-2020-11023 is a cross-site scripting (XSS) vulnerability in older versions of jQuery. It allows an attacker to sneak malicious code into a web page by exploiting a flaw in how jQuery handles HTML. When a user visits the page, the malicious script runs in their browser.

It doesn't "infect" systems in the traditional sense. Instead, it exploits a website's trust in its own code. An attacker gets a user to click a malicious link or interact with a compromised web element. This triggers the vulnerable jQuery code on the website to execute a script that steals the user's data or manipulates their session.

Yes, absolutely. jQuery is used everywhere, and many websites are still running on old, vulnerable versions. Attackers actively scan for this vulnerability because it's an easy and reliable way to execute XSS attacks. If you haven't updated your jQuery library, you are exposed.

The best defense is to update your jQuery library to version 3.5.0 or higher. Conduct regular dependency scans to find outdated libraries in your projects. Additionally, implement a strong Content Security Policy (CSP) and always sanitize user input before rendering it on a page.

Glitch effectBlurry glitch effect

Protect What Matters

Secure endpoints, email, and employees with the power of our 24/7 SOC. Try Huntress for free and deploy in minutes to start fighting threats.
Try Huntress for Free
Huntress Managed Security PlatformManaged EDRManaged EDR for macOSManaged EDR for LinuxManaged ITDRManaged SIEMManaged Security Awareness TrainingManaged ISPMManaged ESPMBook a Demo
PhishingComplianceBusiness Email CompromiseEducationFinanceHealthcareManufacturingState & Local Government
Managed Service ProvidersResellersIT & Security Teams24/7 SOCCase Studies
BlogResource CenterCybersecurity 101Upcoming EventsSupport Documentation
Our CompanyLeadershipNews & PressCareersContact Us
Huntress white logo

Protecting 215k+ customers like you with enterprise-grade protection.

Privacy PolicyCookie PolicyTerms of UseCookie Consent
Linkedin iconTwitter X iconYouTube iconInstagram icon
© 2025 Huntress All Rights Reserved.

Join the Hunt

Get insider access to Huntress tradecraft, killer events, and the freshest blog updates.

By submitting this form, you accept our Terms of Service & Privacy Policy