Back to CVE catalog
CVE-2017-6927

XSS vulnerability in Drupal.checkPlain()

Drupal.org Drupal Core

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityLow
IntegrityLow
AvailabilityNone

CVSS summary v3.0

6.1Medium
Published:
Updated:
EPSS:
1.606%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:Drupal.orgDrupal CoreAffected versions:
8.4.x versions before 8.4.5 and Drupal 7.x versions before 7.57Show full version range for Drupal Core
Vendor:drupaldrupalAffected versions:
≥ 7.0, < 7.57Show full version range for drupal
≥ 8.4.0, < 8.4.5
Vendor:Debiandebian linuxAffected versions:
7.0Show full version range for debian linux
8.09.0
Vendor:Fedoradrupal7
Environments (1)
  • cpe:/o:fedoraproject:fedora:26
Affected versions:
< 0:7.58-1.fc26
Vendor:Fedoradrupal8
Environments (1)
  • cpe:/o:fedoraproject:fedora:26
Affected versions:
< 0:8.3.9-1.fc26
Vendor:Fedoradrupal7
Environments (1)
  • cpe:/o:fedoraproject:fedora:27
Affected versions:
< 0:7.58-1.fc27
Vendor:Fedoradrupal8
Environments (1)
  • cpe:/o:fedoraproject:fedora:27
Affected versions:
< 0:8.4.6-3.fc27
Vendor:Fedoradrupal7
Environments (1)
  • cpe:/o:fedoraproject:fedora:28
Affected versions:
< 0:7.58-1.fc28
Vendor:Fedoradrupal8
Environments (1)
  • cpe:/o:fedoraproject:fedora:28
Affected versions:
< 0:8.4.6-3.fc28

1–9 of 9 · Page 1 of 1

CVSS scores and metrics6
[email protected] · NVD (Primary)Primary6.1 / 10MediumCVSS 3.0Details
Attack complexity
Low
Confidentiality
Low
Integrity
Low
Availability
None
Attack vector
Network
Privileges required
Not required
User interaction
Required
Scope
Changed

Source vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVE-2017-6927 · OSV (source-vector)6.1 / 10MediumCVSS 3.0Details
Attack complexity
Low
Confidentiality
Low
Integrity
Low
Availability
None
Attack vector
Network
Privileges required
Not required
User interaction
Required
Scope
Changed

Source vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
nvd · Wazuh CTI (cna)6.1 / 10MediumCVSS 3.0Details
Attack complexity
Low
Confidentiality
Low
Integrity
Low
Availability
None
Attack vector
Network
Privileges required
Not required
User interaction
Required
Scope
Changed

Source vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
canonical · Wazuh CTI (adp)6.1 / 10MediumCVSS 3.0Details
Attack complexity
Low
Confidentiality
Low
Integrity
Low
Availability
None
Attack vector
Network
Privileges required
Not required
User interaction
Required
Scope
Changed

Source vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
[email protected] · NVD (Primary)4.3 / 10MediumCVSS 2.0Details
Attack complexity
Medium
Confidentiality
None
Integrity
Partial
Availability
None
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:M/Au:N/C:N/I:P/A:N
nvd · Wazuh CTI (cna)4.3 / 10MediumCVSS 2.0Details
Attack complexity
Medium
Confidentiality
None
Integrity
Partial
Availability
None
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:M/Au:N/C:N/I:P/A:N

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories16

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences