DRUPAL-CORE-2020-002
The jQuery project released version 3.5.0, and as part of that, disclosed two security vulnerabilities that affect all…
Mitigation
- Upgrade drupal/core to one of 8.7.14, 8.8.6 (or later in the same release line).
Who should check
- Projects that depend on Packagist package drupal/core (>= 8.0.0, < 8.7.14; >= 8.8.0, < 8.8.6)
Vulnerability facts
- Affected
- drupal/core >= 8.0.0, < 8.7.14; >= 8.8.0, < 8.8.6
- Fixed in
- 8.7.14, 8.8.6
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- Modified
Description
The jQuery project released version 3.5.0, and as part of that, disclosed two security vulnerabilities that affect all prior versions. As mentioned in the [jQuery blog](https://blog.jquery.com/2020/05/04/jquery-3-5-1-released-fixing-a-regression/), both are > [...] security issues in jQuery’s DOM manipulation methods, as in `.html()`, `.append()`, and the others. Security advisories for both of these issues have been published on GitHub. Those advisories are: * [CVE-2020-11022](https://github.com/jquery/jquery/security/advisories/GHSA-gxr4-xjj5-5px2) * [CVE-2020-11023](https://github.com/jquery/jquery/security/advisories/GHSA-jpcq-cgw6-v4j6) These vulnerabilities may be exploitable on some Drupal sites. This Drupal security release backports the fixes to the relevant jQuery functions, without making any other changes to the jQuery version that is included in Drupal core or running on the site via some other module such as [jQuery Update](https://www.drupal.org/project/jquery_update). It is not necessary to update jquery\_update on Drupal 7 sites that have the module installed. Backwards-compatibility code has also been added to minimize regressions to Drupal sites that might rely on jQuery's prior behavior. With jQuery 3.5, incorrect self-closing HTML tags in JavaScript for elements where end tags are normally required will encounter [a change in what jQuery returns or inserts](https://jquery.com/upgrade-guide/3.5/#description-of-the-change). To minimize that disruption in 8.8.x and earlier, this security release retains jQuery's prior behavior for most safe tags. There may still be regressions for edge cases, including invalidly self-closed [custom elements](https://html.spec.whatwg.org/multipage/custom-elements.html) on Internet Explorer. (Note: the backwards compatibility layer will not be included in the upcoming Drupal 8.9 and 9.0 releases, so Drupal 8 and 9 modules, themes, and sites should correct tags in JavaScript to properly use closing tags.) If you find a [regression](https://en.wikipedia.org/wiki/Software_regression) caused by the jQuery changes, please report it in [Drupal core's issue queue](https://www.drupal.org/project/issues/drupal) (or that of the relevant contrib project). However, if you believe you have found a security issue, please [report it privately to the Drupal Security Team](https://www.drupal.org/security-team/report-issue).
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Packagist drupal/core | >= 8.0.0, < 8.7.14; >= 8.8.0, < 8.8.6 | 8.7.14, 8.8.6 | osv |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by DRUPAL-CORE-2020-002. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/DRUPAL-CORE-2020-002.md Affected: drupal/core >= 8.0.0, < 8.7.14; >= 8.8.0, < 8.8.6 Fixed in: 8.7.14, 8.8.6 Steps: 1. Search this machine and project for drupal/core (Packagist): dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is DRUPAL-CORE-2020-002 being exploited?
There is no confirmed exploitation: DRUPAL-CORE-2020-002 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.
How serious is DRUPAL-CORE-2020-002?
It has no CVSS score yet. Unknown.
Which versions are affected by DRUPAL-CORE-2020-002?
drupal/core >= 8.0.0, < 8.7.14; >= 8.8.0, < 8.8.6.
Is there a fix for DRUPAL-CORE-2020-002?
Yes. Fixed in 8.7.14, 8.8.6. Upgrade drupal/core to one of 8.7.14, 8.8.6 (or later in the same release line).
How do I check if I'm affected by DRUPAL-CORE-2020-002?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.