# DRUPAL-CONTRIB-2022-036: Image Field Caption (image\_field\_caption) adds an extra text area for captions on image fields

- Database: Drupal
- Published: 2022-05-04
- Modified: 2026-09-10

## Affected versions

- drupal/image\_field\_caption (Packagist): fixed in 1.2.0

## 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.

## References

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

Page: https://cve.now/DRUPAL-CONTRIB-2022-036

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
