CVE-2020-13668 Access bypass in Drupal Core 8/9

Medium 6.1 Published Updated

An attacker can bypass access controls by exploiting HTML rendering flaws in Drupal Core forms, potentially compromising site security.

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-13668?

CVE-2020-13668 is a medium-severity cross-site scripting vulnerability in Drupal Drupal, published on 11 Feb 2022. 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

Access Bypass vulnerability in Drupal Core allows for an attacker to 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-13668?

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

PackageAffectedFixed in
drupal/core PackagistFrom 8.0.08.8.10
drupal/core PackagistFrom 8.0.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
drupal/core PackagistFrom 9.0.09.0.6
7 more packages
drupal BitnamiFrom 8.8.08.8.10, 8.9.6, 9.0.6
drupal/drupal PackagistFrom 8.0.08.8.10
drupal/drupal PackagistFrom 8.0.08.8.10
drupal/drupal PackagistFrom 8.9.08.9.6
drupal/drupal PackagistFrom 8.9.08.9.6
drupal/drupal PackagistFrom 9.0.09.0.6
drupal/drupal PackagistFrom 9.0.09.0.6

Products include Drupal Drupal.

How do I fix CVE-2020-13668?

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-13668 being exploited?

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

All Drupal Drupal vulnerabilities

Sources

Also known as BIT-drupal-2020-13668, GHSA-m6q5-wv4x-fv6h.

Is CVE-2020-13668 in your software?

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

Check your SBOMs for free