Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconCraft malicious URL with XSS payload
-
DeliveryDeliver link to victim
-
ExploitVictim clicks link
-
InstallAJAX request reflects payload
-
C2Browser executes script
-
ExecuteAttacker steals session or performs actions
-
ImpactImpact: compromised user session
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The vulnerability exists in an unauthenticated AJAX action of the Document Gallery plugin. No special conditions beyond having the plugin installed and active are required. However, exploitation is limited because it requires user interaction: the victim must click or otherwise invoke a crafted URL (UI:R in CVSS). The XSS is reflected, not stored, meaning the attacker cannot passively wait for victims; they must deliver the malicious link via email, social media, or other means. |
| Impact | The CVSS v3.1 base score of 6.1 (Medium) reflects a network-attackable, low-complexity vulnerability that requires user interaction (UI:R) and has a scope change (S:C) but only low confidentiality and integrity impact. While the CVSS itself suggests limited direct damage, the existence of a public proof-of-concept exploit (as reported by WPScan) elevates the practical risk for targeted attacks. No CISA KEV listing or EPSS score is available, so widespread active exploitation is not confirmed. The requirement for user interaction somewhat limits automated exploitation but does not prevent social engineering campaigns. |
| Exploit ScenarioDerived | An attacker crafts a URL containing a JavaScript payload in a parameter that triggers an unauthenticated AJAX action. When an authenticated administrator (or any user) clicks the link, the payload executes in their browser context, allowing the attacker to steal session cookies, perform actions on behalf of the victim, or redirect them to a malicious site. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 27, 2026
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.
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.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when Document Gallery gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
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
3DescriptionCVE.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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Document Gallery
View allReflected cross-site scripting in the Document Gallery WordPress plugin (versions through 5.1.1) lets an unauthenticated
Stored cross-site scripting in the Document Gallery WordPress plugin through 5.1.1 lets any authenticated user with the
Unauthenticated information disclosure in the Document Gallery WordPress plugin through 5.1.1 lets any remote visitor ge
Unauthenticated attackers can replace the published thumbnail image for any document on WordPress sites running the Docu
Stored cross-site scripting in the Document Gallery plugin for WordPress (all versions up to and including 5.1.1) allows
Reflected cross-site scripting in the Dan Rossiter Document Gallery WordPress plugin (all versions up to and including 5
Unauthenticated cross-site scripting in the Document Gallery WordPress plugin (versions 5.1.1 and earlier) allows remote
EUVD-2026-49068
GHSA-7prg-mrx9-fj7w
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB