CVE-2017-6927
Drupal 8.4.x versions before 8.4.5 and Drupal 7.x versions before 7.57 ...
Overview
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.
Source: OX vulnerability database
Severity
6.1 · MEDIUM
CVSS 3.0 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness: CWE-79
Affected packages · 2
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Composer (PHP) | drupal/core | >=8.4.0, <8.4.5>=7.0, <7.57>=8.2.0, <8.3.0>=8.3.0, <8.4.0>=8.0, <8.1.0+1 more | 8.4.57.57 |
| Composer (PHP) | drupal/drupal | >=8.4.0, <8.4.5>=7.0, <7.57>=8.0, <8.1.0>=8.1.0, <8.2.0>=8.2.0, <8.3.0+1 more | 8.4.57.57 |
Open a package to see all its vulnerabilities.
Operating systems · 1 fix
debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 9 | drupal7 | 7.52-2+deb9u2 |
References
- www.securityfocus.com http://www.securityfocus.com/bid/103138
- github.com https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2017-6927.yaml
- github.com https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2017-6927.yaml
- github.com https://github.com/drupal/core
- lists.debian.org https://lists.debian.org/debian-lts-announce/2018/02/msg00030.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2017-6927
- www.debian.org https://www.debian.org/security/2018/dsa-4123
- www.drupal.org https://www.drupal.org/SA-CORE-2018-001
- www.drupal.org https://www.drupal.org/sa-core-2018-001
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.