CVE-2026-12982

Medium

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.

SeverityMedium
CVSS6.1
Exploit probability—
ProductDocument Gallery
PublishedJul 27, 2026
First seenJul 27, 2026

How to fix

Update
  • Document Gallery5.1.1 or later

Affected products

ProductAffected versionsFixed in
Document Galleryv < 5.1.15.1.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.