CVE-2017-6927 – drupal/core
Package
Manager: composer
Name: drupal/core
Vulnerable Version: >=8.4.0 <8.4.5 || >=7.0 <7.57
Severity
Level: Medium
CVSS v3.1: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
EPSS: 0.00991 pctl0.76026
Details
Drupal cross-site scripting vulnerability 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.
Metadata
Created: 2022-05-14T03:35:58Z
Modified: 2024-04-23T22:36:53Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-585j-5449-mf5m/GHSA-585j-5449-mf5m.json
CWE IDs: ["CWE-79"]
Alternative ID: GHSA-585j-5449-mf5m
Finding: F008
Auto approve: 1