CVE-2017-6927 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://lists.debian.org/debian-lts-announce/2018/02/msg00030.html | CVE | Mailing ListThird Party Advisory |
| https://www.debian.org/security/2018/dsa-4123 | CVE | Third Party Advisory |
| https://www.drupal.org/sa-core-2018-001 | CVE | Vendor Advisory |
| http://www.securityfocus.com/bid/103138 | CVE | Third Party AdvisoryVDB Entry |
| https://lists.debian.org/debian-lts-announce/2018/02/msg00030.html | [email protected] | Mailing ListThird Party Advisory |
| https://www.debian.org/security/2018/dsa-4123 | [email protected] | Third Party Advisory |
| https://www.drupal.org/sa-core-2018-001 | [email protected] | Vendor Advisory |
| http://www.securityfocus.com/bid/103138 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| drupal drupal | >= 7.0, < 7.57 >= 8.4.0, < 8.4.5 |
CPE
Remediation
| |
| debian debian linux | 7.0 8.0 9.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Mar 22, 2018 | Initial Analysis | [email protected] |
| Mar 3, 2018 | CVE Modified | [email protected] |