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
CVSS summary v3.0
- Published:
- Updated:
- EPSS:
- 1.606%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Network
Related CWE
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:Drupal.org | Drupal Core | Affected versions:8.4.x versions before 8.4.5 and Drupal 7.x versions before 7.57Show full version range for Drupal Core |
| Vendor:drupal | drupal | Affected versions:≥ 7.0, < 7.57Show full version range for drupal≥ 8.4.0, < 8.4.5 |
| Vendor:Debian | debian linux | Affected versions:7.0Show full version range for debian linux8.09.0 |
| Vendor:Fedora | drupal7Environments (1)
| Affected versions: < 0:7.58-1.fc26 |
| Vendor:Fedora | drupal8Environments (1)
| Affected versions: < 0:8.3.9-1.fc26 |
| Vendor:Fedora | drupal7Environments (1)
| Affected versions: < 0:7.58-1.fc27 |
| Vendor:Fedora | drupal8Environments (1)
| Affected versions: < 0:8.4.6-3.fc27 |
| Vendor:Fedora | drupal7Environments (1)
| Affected versions: < 0:7.58-1.fc28 |
| Vendor:Fedora | drupal8Environments (1)
| 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:NCVE-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:Nnvd · 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:Ncanonical · 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:Nnvd · 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:NCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
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