[Security-news] Image Field Caption - Moderately critical - Cross Site Scripting - SA-CONTRIB-2022-036

security-news at drupal.org security-news at drupal.org
Wed May 4 17:19:27 UTC 2022


View online: https://www.drupal.org/sa-contrib-2022-036

Project: Image Field Caption [1]
Version: 8.x-1.1
Date: 2022-May-04
Security risk: *Moderately critical* 13∕25
AC:Basic/A:User/CI:Some/II:Some/E:Theoretical/TD:Default [2]
Vulnerability: Cross Site Scripting

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

Solution: 
Install the latest version:

   * If you use the image_field_caption module for Drupal 9.x, upgrade to
     image_field_caption 8.x-1.2 [3]

Reported By: 
   * Patrick Fey [4]

Fixed By: 
   * Patrick Fey [5]
   * Tyler Struyk [6]

Coordinated By: 
   * Greg Knaddison [7] of the Drupal Security Team
   * Damien McKenna [8] of the Drupal Security Team


[1] https://www.drupal.org/project/image_field_caption
[2] https://www.drupal.org/security-team/risk-levels
[3] https://www.drupal.org/project/image_field_caption/releases/8.x-1.2
[4] https://www.drupal.org/user/998680
[5] https://www.drupal.org/user/998680
[6] https://www.drupal.org/user/303676
[7] https://www.drupal.org/user/36762
[8] https://www.drupal.org/user/108450



More information about the Security-news mailing list