CVE-2026-84919
JSON

4.6medium

PhotoSwipe - Responsive JavaScript Modal Image Gallery - Moderately critical - Cross-site scripting - SA-CONTRIB-2026-131

Severity
4.6medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.21% (higher than 11% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
drupal
Also known as
DRUPAL-CONTRIB-2026-131

Description

Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting") vulnerability in Drupal PhotoSwipe - Responsive JavaScript Modal Image Gallery allows Stored XSS. This issue affects PhotoSwipe - Responsive JavaScript Modal Image Gallery versions: from 0.0.0 to 5.0.9.

Affected

Product or packageVersionsReported by
Drupal PhotoSwipe - Responsive JavaScript Modal Image Galleryfrom 0.0.0 before 5.0.9CVE List
drupal/photoswipe (Packagist:https://packages.drupal.org/8)before 5.0.9Drupal Security Team

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting") vulnerability in Drupal PhotoSwipe - Responsive JavaScript Modal Image Gallery allows Stored XSS. This issue affects PhotoSwipe - Responsive JavaScript Modal Image Gallery versions: from 0.0.0 to 5.0.9.

Drupal Security Team

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

Sources

SourceRecordLicence
CVE ListCVE-2026-84919 changed 2026-10-22CVE Terms of Use
Drupal Security TeamDRUPAL-CONTRIB-2026-131 changed 2026-09-02MIT
NVDCVE-2026-84919 changed 2026-10-22Public domain