Cross-site Scripting (XSS) Affecting drupal/core package, versions >=7.0, <7.57>=8.0, <8.4.5


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.22% (60th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-site Scripting (XSS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-DRUPALCORE-72091
  • published6 Mar 2018
  • disclosed1 Mar 2018
  • creditGrant Gaudet

Introduced: 1 Mar 2018

CVE-2017-6927  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade drupal/core to version 7.57, 8.4.5 or higher.

Overview

drupal/core is an an open source content management platform powering millions of websites and applications.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) when using the 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.

CVSS Scores

version 3.1