What’s Vulnerable › Vulnerabilities

CVE-2026-12982: Document Gallery < 5.1.1 - Reflected XSS via dg_generate_gallery

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

How to fix

Upgrade to a fixed version: Document Gallery 5.1.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-12982 or the next vulnerability affects your stack