CVE-2026-12982

published 27 Jul 2026 · updated 27 Jul 2026

Document Gallery < 5.1.1 - Reflected XSS via dg_generate_gallery

7.1HighCVSS 6.1EPSS 0%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 5.1.1.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
<5.1.15.1.1

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-12982 severity on Zeptric[![CVE-2026-12982](https://zeptric.io/badge/cve/CVE-2026-12982.svg)](https://zeptric.io/cve/CVE-2026-12982)