CVE-2020-13666 json
Drupal Core Cross-site scripting vulnerability
published 6y ago modified last mo. also BIT-drupal-2020-13666 , DRUPAL-CORE-2020-007 , EUVD-2022-3195 , GHSA-8jj2-x2gc-ggm7
- cvss
- 6.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.9%
- EPSS 2.9% chance of exploitation in 30 days, percentile 87%
- public exploits
- 0
- none known
Summary
Cross-site scripting vulnerability in Drupal Core. Drupal AJAX API does not disable JSONP by default, allowing for an XSS attack. This issue affects: Drupal Drupal Core 7.x versions prior to 7.73; 8.8.x versions prior to 8.8.10; 8.9.x versions prior to 8.9.6; 9.0.x versions prior to 9.0.6.
Patch / fix
- packagist drupal/core 7.73, 8.8.10, 8.9.6, 9.0.6
- packagist drupal/drupal 7.73, 8.8.10, 8.9.6, 9.0.6
- bitnami drupal 7.73.0, 8.8.10, 8.9.6, 9.0.6
- Drupal Drupal Core 7.73, 8.8.10, 8.9.6, 9.0.6
- drupal7 Alpine 3.20, Alpine 3.19, Alpine 3.18 +7 more 7.73-r0
alpine advisories ALPINE-CVE-2020-13666
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Is CVE-2020-13666 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-13666 updated cvss 4.6
drupal: AJAX API does not disable JSONP by default leads to XSS
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.93% chance of exploitation in the next 30 days, higher than 87% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| OSV | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | drupal/core | >=8.8.0, <8.8.10 >=8.9.0, <8.9.6 >=9.0.0, <9.0.6 >=7.0.0, <7.73 >=8.0.0, <8.8.10 |
8.8.10 8.9.6 9.0.6 7.73 |
| packagist | drupal/drupal | >=7.0.0, <7.73 >=8.8.0, <8.8.10 >=8.9.0, <8.9.6 >=9.0.0, <9.0.6 |
7.73 8.8.10 8.9.6 9.0.6 |
| bitnami | drupal | >=7.0.0, <7.73.0 >=8.8.0, <8.8.10 >=8.9.0, <8.9.6 >=9.0.0, <9.0.6 |
7.73.0 8.8.10 8.9.6 9.0.6 |
Affected products
- Drupal Drupal Core
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
drupal.org
/sa-core-2020-007
web, vendor-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-13666
advisory, web
-
github.com
/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2020-13666.yaml
web
-
github.com
/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2020-13666.yaml
web
-
github.com
/drupal/core
package
Sources
- CVE List CVE-2020-13666
- GitHub Advisory GHSA-8jj2-x2gc-ggm7
- NVD CVE-2020-13666
- OSV BIT-drupal-2020-13666
- OSV DRUPAL-CORE-2020-007
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.