Known exploited vulnerability

CVE-2020-11023

mediumCVSS 3.1 6.1In CISA KEVEPSS 85%Published · jquery

The short answer

CVE-2020-11023 affects jquery jQuery and is rated medium (CVSS 6.1). CISA added it to the Known Exploited Vulnerabilities catalog on 2025-01-23: attackers are using it, so patch it first. Fixed versions are published for jquery (3.5.0) and jquery-rails (4.4.0).

What it is

In jQuery versions greater than or equal to 1.0.3 and before 3.5.0, passing HTML containing <option> elements from untrusted sources - even after sanitizing it - to one of jQuery's DOM manipulation methods (i.e. .html(), .append(), and others) may execute untrusted code. This problem is patched in jQuery 3.5.0.

Weakness: CWE-79.

Severity

6.1 medium

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Exploited (CISA KEV)

Yes, since Jan 23, 2025

Federal due date Feb 13, 2025

EPSS, next 30 days

85%

Higher than 100% of scored CVEs

How it can be exploited

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Changed
Confidentiality impact
Low
Integrity impact
Low
Availability impact
None

What CISA says to do

Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

Affected packages and fixed versions

PackageEcosystemFixed inAdvisory
jquerynpm3.5.0GHSA-jpcq-cgw6-v4j6
jquery-railsRubyGems4.4.0GHSA-jpcq-cgw6-v4j6
jQueryNuGet3.5.0GHSA-jpcq-cgw6-v4j6
org.webjars.npm:jqueryMaven3.5.0GHSA-jpcq-cgw6-v4j6
components/jqueryPackagist3.5.0GHSA-jpcq-cgw6-v4j6

Is it in your code? Drop your lockfile into the free vulnerability check, or let vulnerability watch check your repository every day and open the upgrade as a pull request.

Affected products

jQuery. NVD's record lists the exact affected versions.

References

Questions

Is CVE-2020-11023 being exploited?

Yes. CISA added CVE-2020-11023 to its Known Exploited Vulnerabilities catalog on 2025-01-23, with a federal remediation due date of 2025-02-13.

How do I fix CVE-2020-11023?

Upgrade to a fixed version: jquery (npm) 3.5.0; jquery-rails (RubyGems) 4.4.0; jQuery (NuGet) 3.5.0; org.webjars.npm:jquery (Maven) 3.5.0. CISA's required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

From NVD, CISA KEV, FIRST EPSS and OSV.dev, checked . Status on NVD: Analyzed. The description is NVD's text, quoted as published.

Related

Know the day a CVE lands in your code

Connect a GitHub repository and ZeusQA checks its dependencies daily, briefs each advisory and opens the fix. Three test runs free, no card.