CVE-2017-6929 Drupal cross site scripting vulnerability

Medium 6.1 Published Updated

Cross-site scripting in jQuery allows attackers to execute scripts when making Ajax requests to untrusted domains, requiring custom modules for exploitation.

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-2017-6929?

CVE-2017-6929 is a medium-severity cross-site scripting vulnerability in Debian Debian Linux, published on 1 Mar 2018. 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

A jQuery cross site scripting vulnerability is present when making Ajax requests to untrusted domains. This vulnerability is mitigated by the fact that it requires contributed or custom modules in order to exploit. For Drupal 8, this vulnerability was already fixed in Drupal 8.4.0 in the Drupal core upgrade to jQuery 3. For Drupal 7, it is fixed in the current release (Drupal 7.57) for jQuery 1.4.4 (the version that ships with Drupal 7 core) as well as for other newer versions of jQuery that might be used on the site, for example using the jQuery Update module.

Weakness: CWE-79

Which versions are affected by CVE-2017-6929?

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

PackageAffectedFixed in
drupal/core PackagistFrom 7.07.57
drupal/core PackagistFrom 7.07.57
drupal/core PackagistFrom 8.08.4.0
drupal/core PackagistFrom 8.08.4.0
drupal/drupal PackagistFrom 7.07.57
drupal/drupal PackagistFrom 7.07.57
2 more packages
drupal/drupal PackagistFrom 8.08.4.0
drupal/drupal PackagistFrom 8.08.4.0

Products include Debian Debian Linux, Drupal Drupal.

How do I fix CVE-2017-6929?

Upgrade drupal/core to a fixed version for your release line: 7.57 or 8.4.0.

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-2017-6929 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as GHSA-5vpr-v24w-mmjj, UBUNTU-CVE-2017-6929.

Is CVE-2017-6929 in your software?

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

Check your SBOMs for free