{"id":"DRUPAL-CONTRIB-2026-131","details":"This module enables you to add dynamic caption support to PhotoSwipe image galleries.\n\nThe module doesn't sufficiently sanitize user-supplied input (such as image alt tags) in its dynamic caption script, leading to a Cross-Site Scripting (XSS) vulnerability.\n\nThis vulnerability is mitigated by the fact that an attacker must have a role that permits them to enter HTML content.","aliases":["CVE-2026-84919"],"modified":"2026-09-02T19:55:50.223328Z","published":"2026-09-02T16:37:37Z","references":[{"type":"WEB","url":"https://www.drupal.org/sa-contrib-2026-131"}],"affected":[{"package":{"name":"drupal/photoswipe","ecosystem":"Packagist:https://packages.drupal.org/8","purl":"pkg:composer/drupal/photoswipe?repository_url=https:%2F%2Fpackages.drupal.org%2F8"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.0.9"}],"database_specific":{"constraint":"\u003c5.0.9"}}],"database_specific":{"affected_versions":"\u003c5.0.9","source":"https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/photoswipe/DRUPAL-CONTRIB-2026-131.json"}}],"schema_version":"1.9.0","credits":[{"name":"Pierre Rudloff (prudloff)","contact":["https://www.drupal.org/u/prudloff"]}]}