PT-2018-8351 · Drupal · Drupal
Grant Gaudet
·
Published
2018-02-24
·
Updated
2022-05-14
·
CVE-2017-6927
CVSS v3.1
6.1
Medium
| Vector | AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
Drupal versions 8.4.x before 8.4.5
Drupal versions 7.x before 7.57
Description
The issue arises from the
Drupal.checkPlain() JavaScript function, which is intended to escape potentially dangerous text before it is outputted to HTML. However, this function does not correctly handle all methods of injecting malicious HTML, leading to a cross-site scripting issue under certain circumstances. The PHP functions provided by Drupal for HTML escaping are not affected by this issue.Recommendations
For Drupal 8.4.x versions before 8.4.5, update to version 8.4.5 or later.
For Drupal 7.x versions before 7.57, update to version 7.57 or later.
Exploit
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Drupal