DRUPAL-CONTRIB-2026-088

See a problem?
Import Source
https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/photoswipe/DRUPAL-CONTRIB-2026-088.json
JSON Data
https://api.osv.dev/v1/vulns/DRUPAL-CONTRIB-2026-088
Aliases
Published
2026-07-22T18:01:57Z
Modified
2026-09-10T03:45:49Z
Summary
[none]
Details

The Photoswipe Drupal module provides integration for the widely used PhotoSwipe lightbox library to display / zoom images in lightbox galleries using the provided image formatters.

The module didn't sufficiently check access permissions, when viewing an image using the photoswipe image gallery display formatter, in versions < 3.0.4 (Drupal 8) or < 3.2.0 (Drupal 9 / Drupal 10).

This 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).

References
Credits

Affected packages

Packagist:https://packages.drupal.org/8 / drupal/photoswipe

Package

Name
drupal/photoswipe
Purl
pkg:composer/drupal/photoswipe?repository_url=https:%2F%2Fpackages.drupal.org%2F8

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.2.0
Database specific
Show details
{
    "constraint": "<3.2.0"
}

Database specific

affected_versions
"<3.2.0"
source
"https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/photoswipe/DRUPAL-CONTRIB-2026-088.json"