Vulnerability · Published Jul 27, 2026 · Assigned by WPScan
CVE-2026-12982Document Gallery < 5.1.1 - Reflected XSS via dg_generate_gallery
Medium 6.1
In plain English
A medium-severity cross-site scripting in Document Gallery from Unknown. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 20% of all known vulnerabilities).
Severity (CVSS 3.1)6.1Medium
Exploit odds (30 days)0.3%top 80.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official 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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Unknown | Document Gallery | 0 – before 5.1.1 |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
References
- https://wpscan.com/vulnerability/a3c279ce-5db1-4331-ad74-4eef49619737/ exploit, vdb-entry, technical-description