CVE-2020-13688 Drupal Core Cross-site scripting vulnerability

Medium 6.1 Published Updated

An attacker can execute arbitrary scripts in victim browsers via crafted HTML in Drupal forms, potentially leading to session hijacking or data theft.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2020-13688?

CVE-2020-13688 is a medium-severity cross-site scripting vulnerability in Drupal Drupal, published on 11 Jun 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Cross-site scripting vulnerability in l Drupal Core allows an attacker could leverage the way that HTML is rendered for affected forms in order to exploit the vulnerability. This issue affects: Drupal Core 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.

Weakness: CWE-79

Which versions are affected by CVE-2020-13688?

8 open source packages ship an affected version, including drupal/core and drupal. It affects 1 product.

PackageAffectedFixed in
drupal/core PackagistFrom 8.0.08.8.10, 8.9.6, 9.0.6
drupal/core PackagistFrom 8.8.08.8.10
drupal/core PackagistFrom 8.8.08.8.10
drupal/core PackagistFrom 8.9.08.9.6
drupal/core PackagistFrom 8.9.08.9.6
drupal/core PackagistFrom 9.0.09.0.6
2 more packages
drupal/core PackagistFrom 9.0.09.0.6
drupal BitnamiFrom 8.8.08.8.10, 8.9.6, 9.0.6

Products include Drupal Drupal.

How do I fix CVE-2020-13688?

Upgrade drupal/core to a fixed version for your release line: 8.8.10, 8.9.6 or 9.0.6.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2020-13688 being exploited?

There is no known exploitation of CVE-2020-13688 in the wild and no public exploit code.

All Drupal Drupal vulnerabilities

Sources

Also known as BIT-drupal-2020-13688, DRUPAL-CORE-2020-009, GHSA-qf2g-mrrx-rr5p.

Is CVE-2020-13688 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free