VYPR
Medium severity6.1NVD Advisory· Published Mar 1, 2018· Updated Jun 17, 2026

CVE-2017-6927

CVE-2017-6927

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
drupal/corePackagist
>= 8.4.0, < 8.4.58.4.5
drupal/corePackagist
>= 7.0, < 7.577.57
drupal/drupalPackagist
>= 8.4.0, < 8.4.58.4.5
drupal/drupalPackagist
>= 7.0, < 7.577.57

Affected products

7
  • cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:*
    Range: >=7.0,<7.57
  • Debian/linux3 versions
    cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*+ 2 more
    • cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*
    • cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
    • cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
  • ghsa-coords2 versions
    >= 8.4.0, < 8.4.5+ 1 more
    • (no CPE)range: >= 8.4.0, < 8.4.5
    • (no CPE)range: >= 8.4.0, < 8.4.5
  • Range: 8.4.x versions before 8.4.5 and Drupal 7.x versions before 7.57

Patches

Vulnerability mechanics

References

8

News mentions

0

No linked articles in our index yet.