DRUPAL-CONTRIB-2026-131

See a problem?
Import Source
https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/photoswipe/DRUPAL-CONTRIB-2026-131.json
JSON Data
https://api.osv.dev/v1/vulns/DRUPAL-CONTRIB-2026-131
Aliases
  • CVE-2026-84919
Published
2026-09-02T16:37:37Z
Modified
2026-09-02T19:55:50Z
Summary
[none]
Details

This module enables you to add dynamic caption support to PhotoSwipe image galleries.

The 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.

This vulnerability is mitigated by the fact that an attacker must have a role that permits them to enter HTML content.

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
5.0.9
Database specific
Show details
{
    "constraint": "<5.0.9"
}

Database specific

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