DRUPAL-CONTRIB-2022-036

    Dashboard / Vulnerabilities / DRUPAL-CONTRIB-2022-036

    DRUPAL-CONTRIB-2022-036

    Published: 4 May 2022Last Modified: 10 Sept 2026

    Summary:

    Details: Image Field Caption (`image_field_caption`) adds an extra text area for captions on image fields. The module doesn't sanitize user input in certain cases, which leads to a Cross-Site-Scripting (XSS) vulnerability. The vulnerability is mitigated by several permissions, of which at least some are commonly only assigned to either editors, site builders or administrators.

    Affected packages

    Package

    Name: drupal/image_field_caption

    Purl: pkg:composer/drupal/image_field_caption?repository_url=https:%2F%2Fpackages.drupal.org%2F8

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -1.2.0

    Affected versions

    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
    DRUPAL-CONTRIB-2022-036 | CVE-DB