CVE-2017-6927
Last modified
CVE-2017-6927 is a vulnerability of currently unknown severity. 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. EPSS estimates a 1.70% chance of exploitation in the next 30 days.
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
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Drupal | Drupal | >= 7.0, < 7.57 |
| Drupal | Drupal | >= 8.4.0, < 8.4.5 |
| Debian | Debian Linux | 7.0 |
| Debian | Debian Linux | 8.0 |
| Debian | Debian Linux | 9.0 |
References
- http://www.securityfocus.com/bid/103138Third Party Advisory, VDB Entry
- https://lists.debian.org/debian-lts-announce/2018/02/msg00030.htmlMailing List, Third Party Advisory
- https://www.debian.org/security/2018/dsa-4123Third Party Advisory
- https://www.drupal.org/sa-core-2018-001Vendor Advisory
- http://www.securityfocus.com/bid/103138Third Party Advisory, VDB Entry
- https://lists.debian.org/debian-lts-announce/2018/02/msg00030.htmlMailing List, Third Party Advisory
- https://www.debian.org/security/2018/dsa-4123Third Party Advisory
- https://www.drupal.org/sa-core-2018-001Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2017-6927?
How severe is CVE-2017-6927?
How do I fix CVE-2017-6927?
Are you affected by CVE-2017-6927?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
