Drupal core - SA-CORE-2021-002
Drupal core's sanitization API fails to properly filter cross-site scripting under certain circumstances.
Not all sites and users are affected, but configuration changes to prevent the exploit might be impractical and will vary between sites. Therefore, we recommend all sites update to this release as soon as possible.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | drupal/core | >= 8.0.0, < 8.9.14, >= 9.0.0, < 9.0.12, >= 9.1.0, < 9.1.7 | 8.9.14, 9.0.12, 9.1.7 |
| Composer package | drupal/drupal | >= 7.0.0, < 7.80, >= 8.0.0, < 8.9.14, >= 9.0.0, < 9.0.12, >= 9.1.0, < 9.1.7 | 7.80, 8.9.14, 9.0.12, 9.1.7 |
| Drupal (core) | drupal/core | >= 8.0.0, < 8.9.14, >= 9.0.0, < 9.0.12, >= 9.1.0, < 9.1.7 | 8.9.14, 9.0.12, 9.1.7 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-13672
- https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2020-13672.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2020-13672.yaml
- https://github.com/drupal/core
- https://www.drupal.org/sa-core-2021-002
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N- Weakness (CWE)
CWE-79- Platform
- Composer, Drupal
- Package
drupal/core, drupal/drupal- Disclosed
- 21.04.2021
- Updated
- 11.10.2026 13:17
Sources and licenses
OSV / GitHub Advisory Database - GHSA-3m36-mjwj-352c - CC BY 4.0
OSV / GitHub Advisory Database - DRUPAL-CORE-2021-002 - CC BY-SA 2.0; code GPL-2.0-or-later
Vulnerability history: drupal/core
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 146
- First → latest
- 02.2018 09.2026
- Without a fix
- 3
- Exploited in attacks
- 5
Severity breakdown
- Critical 15
- High 40
- Medium 60
- Low 5
- Unrated 26
Disclosures per year
- 2018: 4
- 2019: 14
- 2020: 12
- 2021: 11
- 2022: 55
- 2023: 6
- 2024: 23
- 2025: 8
- 2026: 13
-
Drupal core - SA-CORE-2021-002 this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.