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

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2022-05-04T16:11:07.000Z
- Modified: 2026-09-10T03:45:32.684Z

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

(As written by Drupal Security Team.)

## Affected

- drupal/image_field_caption (Packagist:https://packages.drupal.org/8): before 1.2.0

## References

- <https://www.drupal.org/sa-contrib-2022-036> (web)

## Sources

- Drupal Security Team: [DRUPAL-CONTRIB-2022-036](https://osv.dev/vulnerability/DRUPAL-CONTRIB-2022-036), MIT, modified 2026-09-10

---

Page: https://cve.day/DRUPAL-CONTRIB-2022-036 · Whole record: https://cve.day/DRUPAL-CONTRIB-2022-036.json · Rebuilt by cve.day 2026-11-25T22:56:30.136Z
