Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Consistent with description: unauthenticated network attack, low complexity, requires user interaction.
Primary rating from Vendor (WPScan).
CVSS VectorVendor: WPScan
Lifecycle Timeline
4DescriptionCVE.org
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.
AnalysisAI
Reflected cross-site scripting (XSS) in the WordPress Document Gallery plugin before version 5.1.1 allows unauthenticated attackers to inject malicious scripts via an unsanitized parameter in an AJAX action. A publicly available proof-of-concept exploit exists, increasing the immediate risk for sites running affected versions.
Technical ContextAI
The vulnerability is a classic Reflected XSS (CWE-79) affecting a WordPress plugin. WordPress AJAX actions are handlers that process requests without a full page reload; in this plugin, a user-supplied input is reflected back in the response without proper sanitization, allowing script injection. The CPE string cpe:2.3:a:unknown:document_gallery:*:*:*:*:*:*:*:* identifies the plugin, and the affected versions are all prior to 5.1.1.
RemediationAI
Upgrade the Document Gallery plugin to version 5.1.1 or later. The vendor has released this patched version. No practical workarounds exist other than temporarily deactivating the plugin, which would remove functionality. The WPScan reference provides confirmation of the fix.
More in Document Gallery
View allSame weakness CWE-79 – Cross-site Scripting (XSS)
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-49068
GHSA-7prg-mrx9-fj7w