CVE-2020-11023
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedIn 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidencejQuery versions 1.0.3 through 3.4.x contain a DOM-based XSS vulnerability where passing HTML containing <option> elements from untrusted sources to jQuery's DOM manipulation methods (.html(), .append(), .before(), etc.) may execute arbitrary JavaScript code, even when the input has been sanitized.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data>= 1.0.3, < 3.5.0= 9.0= 31= 32= 33>= 7.0, < 7.70>= 8.7.0, < 8.7.14>= 8.8.0, < 8.8.6all versions< 20.2= 13.3.0.1>= 2.7.0, <= 2.8.0CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify jQuery version in your environmentCheck the jQuery source file (jquery.js or jquery.min.js) for the version string in the header comment, or run jQuery.fn.jquery or $().jquery in browser console, or check package.json/bower.json dependenciesAffected if The version is 1.0.3 through 3.4.x (anything >=1.0.3 and <3.5.0)
-
Search for DOM manipulation with external inputAudit your JavaScript code for usage of jQuery methods .html(), .append(), .before(), .after(), .wrap(), .wrapAll(), or .replaceWith() that accept dynamic or user-supplied values as their first argumentAffected if These methods are used with untrusted input containing HTML, especially <option> elements
-
Inspect server-side rendering or API responsesReview any server endpoints or APIs that return HTML fragments containing <option> tags that are later inserted into the DOM using jQuery methodsAffected if <option> elements from external sources flow into jQuery DOM manipulation methods
-
Review client-side template enginesCheck if client-side templates or inline scripts pass external variables to jQuery DOM methods, particularly where <option> tags may be involved (e.g., dropdown population)Affected if Templates inject user-controllable data into jQuery DOM methods
Your environment is affected if jQuery version is 1.0.3 through 3.4.x AND your application passes HTML containing <option> elements from untrusted sources to jQuery DOM manipulation methods like .html(), .append(), or .before().
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped3.5.07.708.7.14
Upgrade jQuery to version 3.5.0 or later, which includes the security fix for this vulnerability.
jQuery 3.5.0 or later
- Identify all instances of jQuery in the application and its dependencies (check package.json, bower.json, or included script tags)
- Upgrade jQuery to version 3.5.0 or later using your package manager (npm, yarn, or composer)
- Verify the upgrade by checking the jQuery version in the browser console using jQuery.fn.jquery or $().jquery
- Test all functionality that uses jQuery DOM manipulation methods (.html(), .append(), .prepend(), .after(), .before(), .wrap(), .wrapAll(), .wrapInner()) with HTML containing <option> elements
- For Drupal installations, also apply Drupal security updates: 7.70, 8.7.14, or 8.8.6 or later
- Re-scan the application to confirm the vulnerability is remediated
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation6.0 h
- Testing12.0 h
- Review / QA4.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $7,040.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2020-11023 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sources- www.oracle.com
- packetstormsecurity.com
- blog.jquery.com
- jquery.com
- www.oracle.com
- www.oracle.com
- www.oracle.com
- www.oracle.com
- www.oracle.com
- lists.opensuse.org
- packetstormsecurity.com
- github.com
- lists.debian.org
- lists.debian.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- security.gentoo.org
- security.netapp.com
- www.debian.org
- www.drupal.org
- www.oracle.com
- www.oracle.com
- www.oracle.com
- www.oracle.com
- www.tenable.com
- www.tenable.com
- github.com
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.opensuse.org
- lists.opensuse.org
- www.cisa.gov
- nvd.nist.gov
Practitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2020-11023 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data