CVE-2026-12982

Document Gallery < 5.1.1 - Reflected XSS via dg_generate_gallery

Published Jul 27, 2026 CVSS 3.1 · 6.1 Medium EPSS < 1% KEV · Not listed
Description
The Document Gallery WordPress plugin before 5.1.1 does not properly sanitise and escape user input before reflecting it back in the response of an unauthenticated AJAX action, leading to a Reflected Cross-Site Scripting vulnerability which can be exploited against unauthenticated users.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Dan Rossiter
Dan Rossiter document Gallery
Wordpress
Wordpress wordpress
Vendors & Products Dan Rossiter
Dan Rossiter document Gallery
Wordpress
Wordpress wordpress
Type Values Removed Values Added
Weaknesses CWE-79
Metrics cvssV3_1

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

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description The Document Gallery WordPress plugin before 5.1.1 does not properly sanitise and escape user input before reflecting it back in the response of an unauthenticated AJAX action, leading to a Reflected Cross-Site Scripting vulnerability which can be exploited against unauthenticated users.
Title Document Gallery < 5.1.1 - Reflected XSS via dg_generate_gallery
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
WPScan
Published
Updated
Jul 27, 2026, 2:12 PM
Reserved
Jun 23, 2026, 11:36 AM
Status
Deferred
Published
Jul 27, 2026, 7:16 AM
Modified
Jul 27, 2026, 8:33 PM