PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-12982 WordPress CVE debrief

The Document Gallery WordPress plugin before 5.1.1 has a Reflected Cross-Site Scripting vulnerability. This issue allows unauthenticated attackers to inject malicious scripts into the response of an AJAX action. The vulnerability can be exploited against unauthenticated users, potentially leading to unauthorized access or malicious script execution. Users of the plugin should be aware of this vulnerability and take necessary precautions to protect their installations.

Vendor
WordPress
Product
Document Gallery
CVSS
Unknown
CISA KEV
Not listed in stored evidence
Original CVE published
2026-07-27
Original CVE updated
2026-07-27
Advisory published
2026-07-27
Advisory updated
2026-07-27

Who should care

Users of the Document Gallery WordPress plugin, especially those with unauthenticated access to the plugin's AJAX action, should be aware of this vulnerability. This includes administrators, developers, and users who have access to the plugin's functionality. These individuals should review the plugin's configuration, update to the latest version if available, and implement additional security measures to protect against potential exploitation.

Technical summary

The Document Gallery WordPress plugin before 5.1.1 does not properly sanitize and escape user input before reflecting it back in the response of an unauthenticated AJAX action. This leads to a Reflected Cross-Site Scripting (XSS) vulnerability that can be exploited against unauthenticated users. The vulnerability is caused by inadequate input validation and output encoding, allowing attackers to inject malicious scripts into the AJAX response.

Defensive priority

Medium

Recommended defensive actions

  • Update the Document Gallery WordPress plugin to version 5.1.1 or later.
  • Restrict access to the AJAX action to authenticated users only.
  • Implement additional security measures such as input validation and output encoding.
  • Review compensating controls for exposed systems while remediation is scheduled and verified.
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review.
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented.
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.

Evidence notes

The CVE record was published on 2026-07-27T07:16:24.577Z and has not been modified since then. The NVD entry is currently in the 'Received' status. This information is based on the provided source corpus and may not reflect the full scope or details of the vulnerability. Users should verify the information with the official CVE record and NVD entry for the most up-to-date and accurate information.

Official resources

AI-assisted PatchSiren debrief based on the supplied source corpus. The CVE record was published on 2026-07-27T07:16:24.577Z and has not been modified since then. The NVD entry is currently in the 'Received' status.