VDB

CVE-2017-6927

CVE-2017-6927 PUBLISHED CVSS 6.099999904632568 MEDIUM

Drupal cross-site scripting vulnerability

Reported by drupal · Published March 1, 2018

drupal/drupal is fixed in 8.4.5 and 7.57 (Packagist)

Drupal 8.4.x versions before 8.4.5 and Drupal 7.x versions before 7.57 has a Drupal.checkPlain() JavaScript function which is used to escape potentially dangerous text before outputting it to HTML (as JavaScript output does not typically go through Twig autoescaping). This function does not correctly handle all methods of injecting malicious HTML, leading to a cross-site scripting vulnerability under certain circumstances. The PHP functions which Drupal provides for HTML escaping are not affected.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
drupal/drupalPackagist8.4.5, 7.57
drupal/corePackagist8.4.5, 7.57
drupaldrupal8.4.5, 7.57

Risk scores

CVSS 3.0
6.099999904632568
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected products

VendorProductVersions
Drupal.orgDrupal Core8.4.x versions before 8.4.5 and Drupal 7.x versions before 7.57
Drupal.orgDrupal Core8.4.x
drupaldrupal0
drupalcore0

Timeline

  • Mar 1, 2018 CVE Published
  • Mar 22, 2018 CVE Updated
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Apr 6, 2026 Distribution Patch
  • Apr 6, 2026 Security Advisory (2 in total, the first dated here)
  • Sep 28, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2017-6927
vulnetix vdb fixes CVE-2017-6927

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2017-6927/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›