{"id":"DRUPAL-CONTRIB-2022-036","details":"Image Field Caption (`image_field_caption`) adds an extra text area for captions on image fields.\n\nThe module doesn't sanitize user input in certain cases, which leads to a Cross-Site-Scripting (XSS) vulnerability.\n\nThe vulnerability is mitigated by several permissions, of which at least some are commonly only assigned to either editors, site builders or administrators.","modified":"2026-09-10T03:45:32.684562701Z","published":"2022-05-04T16:11:07Z","references":[{"type":"WEB","url":"https://www.drupal.org/sa-contrib-2022-036"}],"affected":[{"package":{"name":"drupal/image_field_caption","ecosystem":"Packagist:https://packages.drupal.org/8","purl":"pkg:composer/drupal/image_field_caption?repository_url=https:%2F%2Fpackages.drupal.org%2F8"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.0"}],"database_specific":{"constraint":"\u003c1.2.0"}}],"database_specific":{"source":"https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/image_field_caption/DRUPAL-CONTRIB-2022-036.json","affected_versions":"\u003c1.2.0"}}],"schema_version":"1.9.0","credits":[{"name":"Patrick Fey","contact":["https://www.drupal.org/user/998680"]}]}