GHSA-585j-5449-mf5m

    Dashboard / Vulnerabilities / GHSA-585j-5449-mf5m

    GHSA-585j-5449-mf5m

    Published: 14 May 2022Last Modified: 23 Apr 2024
    Aliases:

    Summary: Drupal cross-site scripting vulnerability

    Details: 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.

    Affected packages

    Package

    Name: drupal/core

    Purl: pkg:composer/drupal/core

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 8.4.0
    Fixed -8.4.5

    Affected versions

    8.4.0
    8.4.1
    8.4.2
    8.4.3
    8.4.4

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High