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.
Published: 2026-10-16
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Information Disclosure
Action: Apply Patch
AI Analysis

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.

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

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

History

Sun, 18 Oct 2026 06:30:00 +0000

Type Values Removed Values Added
First Time appeared Wordpress-extensions
Wordpress-extensions document Gallery
Vendors & Products Wordpress-extensions
Wordpress-extensions document Gallery

Fri, 16 Oct 2026 16:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-284

Fri, 16 Oct 2026 15:30:00 +0000

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'}


Fri, 16 Oct 2026 13:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-200
CWE-284

Fri, 16 Oct 2026 06:30:00 +0000

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

Subscriptions

Wordpress-extensions Document Gallery
cve-icon MITRE

Status: PUBLISHED

Assigner: WPScan

Published:

Updated: 2026-10-16T14:49:21.732Z

Reserved: 2026-08-17T11:27:45.226Z

Link: CVE-2026-74923

cve-icon Vulnrichment

Updated: 2026-10-16T14:39:41.858Z

cve-icon NVD

Status : Deferred

Published: 2026-10-16T07:17:13.487

Modified: 2026-10-16T15:17:32.990

Link: CVE-2026-74923

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-18T06:15:14Z

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor