CVE-2016-7571 Drupal Cross-site scripting (XSS) vulnerability
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.
| Package | Affected | Fixed in |
|---|---|---|
drupal/core Packagist | From 8.0 | 8.1.10 |
drupal/core Packagist | From 8.0 | 8.1.10 |
drupal/drupal Packagist | From 8.0 | 8.1.10 |
drupal/drupal Packagist | From 8.0 | 8.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.
Other vulnerabilities in Drupal Drupal
Sources
Also known as GHSA-vhg8-x858-7wq6.