CVE-2017-6927

MEDIUM

Drupal 8.4.x <8.4.5 & 7.x <7.57 - XSS

Title source: llm
STIX 2.1

Description

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.

References (4)

Core 4
Core References
Third Party Advisory vendor-advisory x_refsource_debian
https://www.debian.org/security/2018/dsa-4123
Mailing List, Third Party Advisory mailing-list x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2018/02/msg00030.html
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/103138
Vendor Advisory x_refsource_confirm
https://www.drupal.org/sa-core-2018-001

Scores

CVSS v3 6.1
EPSS 0.0139
EPSS Percentile 80.6%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Details

CWE
CWE-79
Status published
Products (6)
debian/debian_linux 7.0
debian/debian_linux 8.0
debian/debian_linux 9.0
drupal/core 8.4.0 - 8.4.5Packagist
drupal/drupal 7.0 - 7.57
drupal/drupal 8.4.0 - 8.4.5Packagist
Published Mar 01, 2018
Tracked Since Feb 18, 2026