CVE-2017-6927
CVSS V2 Medium 4.3
CVSS V3 Medium 6.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.
Overview
- CVE ID
- CVE-2017-6927
- Assigner
- mlhess@drupal.org
- Vulnerability Status
- Analyzed
- Published Version
- 2018-03-01T23:29:00
- Last Modified Date
- 2018-03-22T17:28:21
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:* | 1 | OR | 7.0 | 7.57 |
cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:* | 1 | OR | 8.4.0 | 8.4.5 |
cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 1 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:M/Au:N/C:N/I:P/A:N
- Access Vector
- NETWORK
- Access Compatibility
- MEDIUM
- Authentication
- NONE
- Confidentiality Impact
- NONE
- Integrity Impact
- PARTIAL
- Availability Impact
- NONE
- Base Score
- 4.3
- Severity
- MEDIUM
- Exploitability Score
- 8.6
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.0
- Vector String
- CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- REQUIRED
- Scope
- CHANGED
- Confidentiality Impact
- LOW
- Availability Impact
- NONE
- Base Score
- 6.1
- Base Severity
- MEDIUM
- Exploitability Score
- 2.8
- Impact Score
- 2.7
References
Reference URL | Reference Tags |
---|---|
https://www.drupal.org/sa-core-2018-001 | Vendor Advisory |
https://www.debian.org/security/2018/dsa-4123 | Third Party Advisory |
https://lists.debian.org/debian-lts-announce/2018/02/msg00030.html | Mailing List Third Party Advisory |
http://www.securityfocus.com/bid/103138 | Third Party Advisory VDB Entry |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2017-6927 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-6927 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 18:46:59 | Added to TrackCVE | |||
2022-12-03 02:55:01 | security@drupal.org | mlhess@drupal.org | CVE Assigner | updated |
2022-12-03 02:55:01 | 2018-03-01T23:29Z | 2018-03-01T23:29:00 | CVE Published Date | updated |
2022-12-03 02:55:01 | 2018-03-22T17:28:21 | CVE Modified Date | updated | |
2022-12-03 02:55:01 | Analyzed | Vulnerability Status | updated |