Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2017-6927

Drupal 8.4.x versions before 8.4.5 and Drupal 7.x versions before 7.57 ...

Overview

Published
1 Mar 2018
Modified
17 Jun 2026
Medium CVE
2 Registry packages
1 OS packages
1 Linux distributions
Yes Fix available

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

Packages affected by CVE-2017-6927
EcosystemPackageVulnerableFixed 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

fixed 1
drupal7
debian fixes for CVE-2017-6927
ReleasePackageFixed in
9 drupal7 7.52-2+deb9u2

References

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.