CWE
79
Advisory Published
CVE Published
Updated

CVE-2017-6927: XSS

First published: Tue Feb 20 2018(Updated: )

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.

Credit: mlhess@drupal.org mlhess@drupal.org

Affected SoftwareAffected VersionHow to fix
composer/drupal/core>=8.0<8.1.0>=8.1.0<8.2.0>=8.2.0<8.3.0>=8.3.0<8.4.0>=8.4.0<8.4.5
composer/drupal/drupal>=8.0<8.1.0>=8.1.0<8.2.0>=8.2.0<8.3.0>=8.3.0<8.4.0>=8.4.0<8.4.5
Drupal Drupal>=7.0<7.57
Drupal Drupal>=8.4.0<8.4.5
Debian Debian Linux=7.0
Debian Debian Linux=8.0
Debian Debian Linux=9.0
debian/drupal7
debian/drupal7<=7.32-1<=7.56-1
7.57-1
7.52-2+deb9u2
7.32-1+deb8u10
composer/drupal/drupal>=7.0<7.57
7.57
composer/drupal/drupal>=8.4.0<8.4.5
8.4.5
composer/drupal/core>=7.0<7.57
7.57
composer/drupal/core>=8.4.0<8.4.5
8.4.5
>=7.0<7.57
>=8.4.0<8.4.5
=7.0
=8.0
=9.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203