DRUPAL-CONTRIB-2022-036
not scored yetImage 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
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist:https://packages.drupal.org/8 | drupal/image_field_caption | < 1.2.0 | 1.2.0 |
References
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 4 May 2022)