CVE-2020-13666Drupal
Medium 6.1 No auth needed
Follow: this CVE · Drupal · Drupal We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 2.9% probability of exploitation in 30 days · percentile 88
- Auth required
- No
- Published
- May 5, 2021
- Updated
- Jun 17, 2026
- Category
- Web application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Drupal.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | drupal/core |
≥ 8.0.0 < 8.8.10 |
8.8.10 |
composer require "drupal/core:^8.8.10" |
| Packagist | drupal/core |
≥ 8.9.0 < 8.9.6 |
8.9.6 |
composer require "drupal/core:^8.9.6" |
| Packagist | drupal/core |
≥ 9.0.0 < 9.0.6 |
9.0.6 |
composer require "drupal/core:^9.0.6" |
| Packagist | drupal/core |
≥ 8.8.0 < 8.8.10 |
8.8.10 |
composer require "drupal/core:^8.8.10" |
| Packagist | drupal/core |
≥ 8.9.0 < 8.9.6 |
8.9.6 |
composer require "drupal/core:^8.9.6" |
| Packagist | drupal/core |
≥ 9.0.0 < 9.0.6 |
9.0.6 |
composer require "drupal/core:^9.0.6" |
| Packagist | drupal/core |
≥ 7.0.0 < 7.73 |
7.73 |
composer require "drupal/core:^7.73" |
| Packagist | drupal/drupal |
≥ 7.0.0 < 7.73 |
7.73 |
composer require "drupal/drupal:^7.73" |
| Packagist | drupal/drupal |
≥ 8.8.0 < 8.8.10 |
8.8.10 |
composer require "drupal/drupal:^8.8.10" |
| Packagist | drupal/drupal |
≥ 8.9.0 < 8.9.6 |
8.9.6 |
composer require "drupal/drupal:^8.9.6" |
| Packagist | drupal/drupal |
≥ 9.0.0 < 9.0.6 |
9.0.6 |
composer require "drupal/drupal:^9.0.6" |
Per OSV / GitHub Advisories (DRUPAL-CORE-2020-007, GHSA-8jj2-x2gc-ggm7). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| drupal | drupal | ≥ 7.0 < 7.73 |
| drupal | drupal | ≥ 8.8.0 < 8.8.10 |
| drupal | drupal | ≥ 8.9.0 < 8.9.6 |
| drupal | drupal | ≥ 9.0.0 < 9.0.6 |
Official sources
References
Links published by the sources. Open them with care.
- www.drupal.org Vendor Advisory