CVE-2026-74923

Document Gallery <= 5.1.1 - Unauthenticated Non-Public Attachment Disclosure via dg_generate_gallery and dg_generate_icons

Published Oct 16, 2026 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
The Document Gallery WordPress plugin through 5.1.1 does not perform any capability or ownership check when generating a gallery on demand, allowing unauthenticated users to enumerate and disclose the titles, descriptions and direct file URLs of media attached to unpublished, private or trashed content.

Analysis

AI-generated

Technical impact

The Document Gallery WordPress plugin, versions up to 5.1.1, does not perform a capability or ownership check when generating a gallery on demand, allowing any unauthenticated visitor to retrieve the titles, descriptions, and direct URLs of media files attached to unpublished, private, or trashed posts. This lack of access control and the resulting exposure of internal media metadata (CWE‑200) create a significant information‑disclosure risk. Based on the description, it is inferred that the attack involves sending a request to the publicly accessible dg_generate_gallery or dg_generate_icons endpoint without credentials, which is how the vulnerability is exploited.

Affected Systems

Any WordPress site that has the Document Gallery plugin version 5.1.1 or earlier installed is affected; vendor details are listed as Unknown:Document Gallery, but the flaw applies to all installations of that plugin regardless of provider.

Risk and Exploitability

Based on the description, it is inferred that the vulnerability is accessed via a public endpoint that requires no credentials, offering a zero‑barrier exploitation path. The EPSS score of < 1% indicates a low likelihood of exploitation currently, and the flaw is not listed in the CISA KEV catalog; nevertheless, the ability to enumerate private media contents presents a high‑risk information‑disclosure scenario. The CVSS score of 5.3 indicates moderate severity.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Document Gallery plugin to a version newer than 5.1.1 where the access‑control flaw is fixed.
  • If an update cannot be performed immediately, restrict access to the dg_generate_gallery and dg_generate_icons endpoints by requiring authentication or implementing IP/role restrictions.
  • Verify that WordPress’s media library is properly configured so that private files cannot be accessed via direct URLs and enforce authentication checks for any remaining gallery‑generation functionality.

Generated by OpenCVE AI on October 16, 2026 at 18:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Wordpress-extensions
Wordpress-extensions document Gallery
Vendors & Products Wordpress-extensions
Wordpress-extensions document Gallery
Type Values Removed Values Added
Weaknesses CWE-284
Type Values Removed Values Added
Metrics cvssV3_1

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

ssvc

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

Type Values Removed Values Added
Weaknesses CWE-200
CWE-284
Type Values Removed Values Added
Description The Document Gallery WordPress plugin through 5.1.1 does not perform any capability or ownership check when generating a gallery on demand, allowing unauthenticated users to enumerate and disclose the titles, descriptions and direct file URLs of media attached to unpublished, private or trashed content.
Title Document Gallery <= 5.1.1 - Unauthenticated Non-Public Attachment Disclosure via dg_generate_gallery and dg_generate_icons
References
Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

Sources

Status
PUBLISHED
Assigner
WPScan
Published
Updated
Oct 16, 2026, 2:49 PM
Reserved
Aug 17, 2026, 11:27 AM
Status
Deferred
Published
Oct 16, 2026, 7:17 AM
Modified
Oct 16, 2026, 3:17 PM