CVE-2026-16645

PhotoSwipe - Responsive JavaScript Modal Image Gallery - Moderately critical - Access bypass - SA-CONTRIB-2026-088

Published Aug 25, 2026 CVSS 3.1 · 9.1 Critical EPSS < 1% KEV · Not listed
Description
Missing Authorization vulnerability in Drupal PhotoSwipe - Responsive JavaScript Modal Image Gallery allows Forceful Browsing. This issue affects PhotoSwipe - Responsive JavaScript Modal Image Gallery versions: from 0.0.0 to 3.2.0.

Analysis

AI-generated

Technical impact

The vulnerability is a missing authorization flaw that allows an attacker to forcefully browse content protected by the Drupal PhotoSwipe module. This authorization bypass enables unauthorized disclosure of image resources that should otherwise be restricted, potentially revealing sensitive or confidential media. The weakness is classified as CWE-862 and CWE-425, indicating that an attacker can access protected image resources and bypass authentication or authorization mechanisms without possessing the necessary permissions.

Affected Systems

Drupal's PhotoSwipe - Responsive JavaScript Modal Image Gallery module is affected. All releases from the initial 0.0.0 version up to and including 3.2.0 are susceptible. Administrators using these versions should verify the installed module version to determine exposure.

Risk and Exploitability

The CVSS score is 9.1 and the EPSS score is < 1%, indicating a high severity vulnerability with a very low likelihood of exploitation. However, the module’s wide usage and the straightforward nature of forceful browsing suggest that an attacker can easily craft requests to retrieve restricted images. The vulnerability is not listed in CISA’s KEV catalog, but the lack of a known exploit does not diminish the risk of internal or public disclosure. The likely attack vector is the manipulation of URLs or parameters that trigger image retrieval without checking user permissions. An attacker with network access or the ability to interact with the site can attempt successive requests until a protected image is returned.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the PhotoSwipe module to a version newer than 3.2.0 or remove it if unused.
  • Ensure that all routes serving images enforce proper Drupal permission checks and deny unauthorized users.
  • Configure the web server to disable directory listings and enforce access controls on image directories.

Generated by OpenCVE AI on August 28, 2026 at 05:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Drupal
Drupal photoswipe - Responsive Javascript Modal Image Gallery
Vendors & Products Drupal
Drupal photoswipe - Responsive Javascript Modal Image Gallery
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Missing Authorization vulnerability in Drupal PhotoSwipe - Responsive JavaScript Modal Image Gallery allows Forceful Browsing. This issue affects PhotoSwipe - Responsive JavaScript Modal Image Gallery versions: from 0.0.0 to 3.2.0.
Title PhotoSwipe - Responsive JavaScript Modal Image Gallery - Moderately critical - Access bypass - SA-CONTRIB-2026-088
Weaknesses CWE-862
References
Weaknesses
  • CWE-425

    Direct Request ('Forced Browsing')

  • CWE-862

    Missing Authorization

Sources

Status
PUBLISHED
Assigner
drupal
Published
Updated
Aug 26, 2026, 6:41 PM
Reserved
Jul 22, 2026, 5:06 PM
Status
Awaiting Analysis
Published
Aug 25, 2026, 11:16 PM
Modified
Aug 28, 2026, 3:29 PM
Severity
Important
Public date
Aug 25, 2026, 10:21 PM