CVE-2016-7571 Drupal Cross-site scripting (XSS) vulnerability

Medium 6.1 Published Updated

Remote attackers can inject arbitrary web script or HTML into Drupal 8 via HTTP exception vectors, potentially compromising user sessions.

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-2016-7571?

CVE-2016-7571 is a medium-severity cross-site scripting vulnerability in Drupal Drupal, published on 3 Oct 2016. 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 (XSS) vulnerability in Drupal 8.x before 8.1.10 allows remote attackers to inject arbitrary web script or HTML via vectors involving an HTTP exception.

Weakness: CWE-79

Which versions are affected by CVE-2016-7571?

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

PackageAffectedFixed in
drupal/core PackagistFrom 8.08.1.10
drupal/core PackagistFrom 8.08.1.10
drupal/drupal PackagistFrom 8.08.1.10
drupal/drupal PackagistFrom 8.08.1.10

Products include Drupal Drupal.

How do I fix CVE-2016-7571?

Upgrade drupal/core to 8.1.10 or later.

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-2016-7571 being exploited?

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

All Drupal Drupal vulnerabilities

Sources

Also known as GHSA-vhg8-x858-7wq6.

Is CVE-2016-7571 in your software?

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

Check your SBOMs for free