---
id: CVE-2026-74923
title: >-
  Document Gallery <= 5.1.1 - Unauthenticated Non-Public Attachment Disclosure
  via dg_generate_gallery and dg_generate_icons
summary: >-
  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…
severity: medium
cvss: 5.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N'
cvssSource: adp
cwe:
  - CWE-200
product: Document Gallery
affected:
  - document_gallery <= 5.1.1
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-10-16T14:42:05.486127Z'
published: '2026-10-16'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T14:49:21.732Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-74923'
references:
  - url: 'https://wpscan.com/vulnerability/23254461-f638-4fb7-817b-776c0db18a67/'
tags:
  - cve.org
epss: 0.00145
epssPercentile: 0.03402
ingestedAt: '2026-10-16T07:01:11.490Z'
---

## Overview

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.

## Affected

- `document_gallery <= 5.1.1`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
