CVE-2017-6927
publisheddrupal: Multiple vulnerabilities fixed in 7.57 and 8.4.5 (SA-CORE-2018-001)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Drupal.org | — | Drupal Core8.4.x versions before 8.4.5 and Drupal 7.x versions before 7.57 | Affected | Not stated | drupal |
| Debian | jessie | drupal7 | Advisory build | 7.32-1+deb8u10 | DSA-4123-1 |
| Debian | stretch | drupal7 | Advisory build | 7.52-2+deb9u2 | DSA-4123-1 |
| Debian | wheezy | drupal7 | Advisory build | 7.14-2+deb7u17 | DLA-1295-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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Drupal.org | Drupal Core | 8.4.x versions before 8.4.5 and Drupal 7.x versions before 7.57 (affected) | drupal · cna |
Weaknesses
1- Cross Site Scripting
References
4- 103138 http://www.securityfocus.com/bid/103138
- [debian-lts-announce] 20180228 [SECURITY] [DLA 1295-1] drupal7 security update https://lists.debian.org/debian-lts-announce/2018/02/msg00030.html
- DSA-4123 https://www.debian.org/security/2018/dsa-4123
- https://www.drupal.org/sa-core-2018-001
Provider assertions
2drupal · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 1513df41ce329e9d6b55f2addae1b98f96005e69841836abd06f71ed36b31aa8
- Ingested
- 23 Sep 2026, 07:42:50 UTC
- Source record
- Official CVE record