CVE-2020-13672 — core
MEDIUMCVE-2020-13672 is a medium-severity (CVSS 6.1) Cross-site Scripting (XSS) vulnerability in drupal/core. A fix is available for drupal/core — see the affected versions and patch details below.
Drupal core Cross-site Scripting (XSS) vulnerability
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
CVE-2020-13672 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.
Where this sits among everything scored
Of 385,738 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.
Real-World Exposure
drupal/core🐘drupal/core🐘drupal/core🐘drupal/core🐘drupal/drupal🐘drupal/drupal🐘drupal/drupal🐘drupal/drupalReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Packagist packages — download data is not available via public APIs for these ecosystems.
Description
Cross-site Scripting (XSS) vulnerability in Drupal core's sanitization API fails to properly filter cross-site scripting under certain circumstances. This issue affects: Drupal Core 9.1.x versions prior to 9.1.7; 9.0.x versions prior to 9.0.12; 8.9.x versions prior to 8.9.14; 7.x versions prior to 7.80.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐘Packagist | drupal/core | ≥ 7.0.0&&< 7.80 | 7.80composer require drupal/core:^7.80 |
| 🐘Packagist | drupal/core | ≥ 8.0.0&&< 8.9.14 | 8.9.14composer require drupal/core:^8.9.14 |
| 🐘Packagist | drupal/core | ≥ 9.0.0&&< 9.0.12 | 9.0.12composer require drupal/core:^9.0.12 |
| 🐘Packagist | drupal/core | ≥ 9.1.0&&< 9.1.7 | 9.1.7composer require drupal/core:^9.1.7 |
| 🐘Packagist | drupal/drupal | ≥ 7.0.0&&< 7.80 | 7.80composer require drupal/drupal:^7.80 |
| 🐘Packagist | drupal/drupal | ≥ 8.0.0&&< 8.9.14 | 8.9.14composer require drupal/drupal:^8.9.14 |
Affected Products
drupaldrupalDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for drupal/core, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update drupal/core to 7.80 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2020-13672 is resolved across your whole dependency graph.
Workarounds
Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.
Frequently Asked Questions
Is CVE-2020-13672 in your dependencies?
Find it across Packagist, including transitive dependencies.