# CVE-2026-12982: Document Gallery \< 5.1.1 - Reflected XSS via dg\_generate\_gallery

- Priority: **Routine**
- Reason: Not severe (CVSS 6.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-07-27 · Modified: 2026-07-27
- Record: https://cvemate.com/vulnerability/CVE-2026-12982 · JSON: https://cvemate.com/vulnerability/CVE-2026-12982/json

## Description

```text
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.
```

## Signals

- CVSS: 6.1 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS: 0.162%, percentile 5.579%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- unknown document gallery: \< 5.1.1
- wordpress document-gallery: ≤ 5.1.0 (fixed in 5.1.1)

## References

- <https://wpscan.com/vulnerability/a3c279ce-5db1-4331-ad74-4eef49619737/>
- <https://www.wordfence.com/threat-intel/vulnerabilities/id/021916e5-c0f3-4232-b4f5-daee85d2136a>

---

Data as of 2026-12-05T06:49:00.578Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
