Reflected Cross-Site Scripting in Document Gallery Plugin by WordPress
CVE-2026-12982

6.1MEDIUM

Key Information:

Vendor

WordPress

Vendor
CVE Published:
27 July 2026

Badges

👾 Exploit Exists🟡 Public PoC

What is CVE-2026-12982?

The Document Gallery plugin for WordPress prior to version 5.1.1 is susceptible to a Reflected Cross-Site Scripting (XSS) vulnerability. This flaw arises due to inadequate sanitization and escaping of user input during an unauthenticated AJAX action, allowing attackers to inject malicious scripts that could be executed in the browsers of unsuspecting users. This vulnerability emphasizes the critical importance of proper input validation to maintain website integrity and protect user data.

Affected Version(s)

Document Gallery 0 < 5.1.1

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

CVSS V3.1

Score:
6.1
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
Required
Scope:
Changed

Timeline

  • 🟡

    Public PoC available

  • 👾

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Credit

João Ramos Maciel
WPScan
.