SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

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.

MEDIUM 6.1EPSS 1.61%

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 · 75th percentile
CISA KEV
Not listed
Weakness
CWE-79
Affected
drupal/drupal · debian/debian linux
Source
mlhess@drupal.org

Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.