Read the docs
TI-2017-04653 Aliases CVE-2017-6927GHSA-585j-5449-mf5m

Cross-site scripting in Drupal Core

Priority LOW 30CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 3.0 · NVD. Fix status from CNA and GitHub. Impact type from CWE-79.

Summary

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.

Why it matters now

EPSS 0.01606 76th percentileScored 2026-11-07
Fix Fixed drupal/core (Packagist): 8.4.5, 7.57drupal/drupal (Packagist): 8.4.5, 7.57

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
DrupalDrupal Core8.4.x versions before 8.4.5 and Drupal 7.x versions before 7.57—No fix listedCNA
—drupal/core (Packagist)8.4.0 to before 8.4.58.4.5Patch availableGHSA-585j-5449-mf5m
—drupal/core (Packagist)7.0 to before 7.577.57Patch availableGHSA-585j-5449-mf5m
—drupal/drupal (Packagist)8.4.0 to before 8.4.58.4.5Patch availableGHSA-585j-5449-mf5m
—drupal/drupal (Packagist)7.0 to before 7.577.57Patch availableGHSA-585j-5449-mf5m
  • Drupal Core VendorDrupal Affected 8.4.x versions before 8.4.5 and Drupal 7.x versions before 7.57 Fixed in — No fix listed CNA
  • drupal/core (Packagist) Vendor— Affected 8.4.0 to before 8.4.5 Fixed in 8.4.5 Patch available GHSA-585j-5449-mf5m
  • drupal/core (Packagist) Vendor— Affected 7.0 to before 7.57 Fixed in 7.57 Patch available GHSA-585j-5449-mf5m
  • drupal/drupal (Packagist) Vendor— Affected 8.4.0 to before 8.4.5 Fixed in 8.4.5 Patch available GHSA-585j-5449-mf5m
  • drupal/drupal (Packagist) Vendor— Affected 7.0 to before 7.57 Fixed in 7.57 Patch available GHSA-585j-5449-mf5m

CPE configurations NVD · 4

CPEVersionsRoleVendor
cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:*7.0 to before 7.57; 8.4.0 to before 8.4.5VulnerableDrupal
cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*7.0VulnerableDebian
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*8.0VulnerableDebian
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*9.0VulnerableDebian
  • cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:* Versions 7.0 to before 7.57; 8.4.0 to before 8.4.5 Vulnerable ·Drupal
  • cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Debian
  • cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Debian
  • cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian

Remediation

  • Fix · GHSA-585j-5449-mf5m drupal/core (Packagist) Fixed in 8.4.5 Advisory →
  • Fix · GHSA-585j-5449-mf5m drupal/core (Packagist) Fixed in 7.57 Advisory →
  • Fix · GHSA-585j-5449-mf5m drupal/drupal (Packagist) Fixed in 8.4.5 Advisory →
  • Fix · GHSA-585j-5449-mf5m drupal/drupal (Packagist) Fixed in 7.57 Advisory →

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Advisory ·

    Drupal.org Drupal Core — DSA-4123

    4 records Highest priority Priority LOW 4 LOW

    Other records, highest priority first

    • TI-2017-04655 Cross-site scripting in Drupal CorePriority LOW 30
    • TI-2017-04654 Incorrect permission assignment in Drupal CorePriority LOW 26
    • TI-2017-04658 Open redirect in Drupal CorePriority LOW 24

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2017-6927
  2. 2026-10-03 Alias added: GHSA-585j-5449-mf5m

References

  • TI-2026-07979 Drupal core - Highly critical - SQL injection - SA-CORE-2026-004 KEVCVSS 3.1CRITICAL 9.8
  • TI-2018-05494 Drupal core - Highly critical - Remote Code Execution - SA-CORE-2018-004 KEVCVSS 3.1CRITICAL 9.8
  • TI-2018-05493 Improper input validation in Drupal before 7.58, 8.x before 8.3.9, 8.4.x before 8.4.6… KEVCVSS 3.1CRITICAL 9.8
  • TI-2020-10731 Unrestricted file upload in Drupal Core KEVCVSS 3.1HIGH 8.8
  • TI-2019-04505 Drupal core - Highly critical - Remote Code Execution KEVCVSS 3.1HIGH 8.1
  • TI-2020-17477 Archive_Tar through 1.4.10 has :// filename sanitization only to address phar attacks… KEVCVSS 3.1HIGH 7.8
See all 278 →

Sources