CVE-2017-6927
This function does not correctly handle all methods of injecting malicious HTML, leading to a cross-site scripting vulnerability under certain circumstances.
Does this matter?
Lower severity and a low EPSS score (1.61%). Track it; it rarely justifies an emergency change on its own.
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.
- CVSS 3.0
- 6.1 MEDIUMCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS
- 1.61% probability · 76th percentile
- Public exploits
- None in Exploit-DB
- CISA KEV
- Not listed
- Weakness
- CWE-79
- Affected
- drupal/drupal · debian/debian linux
- Source
- mlhess@drupal.org
EPSS 1.6% since 27 October 2026; no change recorded yet. Points are recorded when the score first appears and whenever it moves by a percentage point or more.
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
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.