{"id":"DRUPAL-CONTRIB-2026-088","details":"The Photoswipe Drupal module provides integration for the widely used [PhotoSwipe lightbox library](https://photoswipe.com/) to display / zoom images in lightbox galleries using the provided image formatters.\n\nThe module didn't sufficiently check access permissions, when viewing an image using the photoswipe image gallery display formatter, in versions \u003c 3.0.4 (Drupal 8) or \u003c 3.2.0 (Drupal 9 / Drupal 10).\n\nThis vulnerability is mitigated by the fact that it only affects sites limiting access to the images shown in photoswipe (the most common use case for photoswipe lightboxes public images).","aliases":["CVE-2026-16645"],"modified":"2026-09-10T03:45:49.897536788Z","published":"2026-07-22T18:01:57Z","references":[{"type":"WEB","url":"https://www.drupal.org/sa-contrib-2026-088"}],"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":"3.2.0"}],"database_specific":{"constraint":"\u003c3.2.0"}}],"database_specific":{"affected_versions":"\u003c3.2.0","source":"https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/photoswipe/DRUPAL-CONTRIB-2026-088.json"}}],"schema_version":"1.9.0","credits":[{"name":"Aleksi Peebles (aleksip)","contact":["https://www.drupal.org/u/aleksip"]}]}