Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious AJAX URL with XSS payload
-
DeliveryDeliver link to logged-in administrator
-
ExploitReflected payload breaks out of HTML attribute
-
ExecutionScript executes in admin browser session
-
ImpactHijack session or create rogue admin
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 | Exploitation targets the unauthenticated AJAX action exposed by the Document Gallery plugin (versions up to and including 5.1.1), where a user-supplied parameter is reflected without proper sanitization/escaping inside an HTML attribute. The decisive limiting factor is required user interaction (UI:R): a victim - ideally a logged-in administrator - must click or load the attacker-crafted link, so there is no silent server-side compromise. No authentication is required of the attacker to deliver the payload (PR:N), and the endpoint is reachable over the network against default installations of the plugin, but impact is confined to script execution in the victim's browser session, not direct server control. |
| Impact | This is a genuine but moderate-priority issue rather than a critical emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L = 7.1 High) indicates a network-reachable, low-complexity flaw requiring no privileges, consistent with the description of an unauthenticated AJAX action. The scope change (S:C) and the three Low impacts reflect classic reflected XSS mechanics where script executes in the victim's browser context rather than the server. Publicly available exploit code exists (reported by WPScan), which raises practical risk, but there is no CISA KEV listing and no EPSS score was provided, so there is no evidence of active or widespread exploitation - exploitation code availability and active exploitation are distinct signals and should not be conflated. The key limiting factor is UI:R: the attacker must induce a victim (ideally a logged-in administrator) to click a crafted link, so this is not a drive-by, wormable, or server-side RCE condition. Net assessment: a credible, easily weaponized XSS worth patching promptly on affected sites, but not a mass-exploitation crisis. Missing data: no EPSS probability and no KEV entry to corroborate real-world exploitation volume. |
| Exploit ScenarioDerived | An attacker crafts a URL to the plugin's unauthenticated AJAX endpoint with a malicious payload in a parameter that is reflected unescaped inside an HTML attribute, then sends it to a site administrator via phishing or a comment link. When the logged-in admin opens the link, the injected JavaScript executes in their authenticated session, enabling session/cookie theft or admin actions such as creating rogue users. A public proof-of-concept is already available via WPScan, lowering the skill barrier to reproduce the attack. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 15, 2026
Reflected cross-site scripting in the Document Gallery WordPress plugin (versions through 5.1.1) lets an unauthenticated attacker inject script into an HTML attribute returned by one of the plugin's AJAX actions, and the payload executes in the browser of any user who opens the crafted link - including a logged-in administrator. Publicly available exploit code exists and the issue is documented in the WPScan vulnerability database (EUVD-2026-101853), so exploitation only requires luring a victim into clicking or loading a malicious URL; no credentials are needed to deliver the payload (CVSS vector AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L). At CVSS 7.1 the assessed impact is moderate rather than critical: script execution is confined to the victim's browser session instead of granting direct server control, there is no CISA KEV entry indicating confirmed actively exploited, and the decisive limiting factor is the mandatory victim interaction.
RemediationAI
No vendor-released patch (exact fixed version) is identified in the available data, so the primary action is to track the WPScan advisory at https://wpscan.com/vulnerability/aa80cef6-b2fd-47ef-bac9-53438aa27573/ and the plugin's WordPress.org page for a release above 5.1.1 and upgrade to that exact version once published. Where the plugin's document gallery functionality is not needed, deactivating and deleting it removes the attack surface entirely - the trade-off being that existing document/gallery shortcodes stop rendering. If the plugin must stay active, the practical compensating controls are: block requests to /wp-admin/admin-ajax.php whose Document Gallery action parameter contains angle brackets, quotes, or script keywords at the WAF or reverse proxy (accepting that overly broad rules can reject legitimate search or filter input); restrict access to that AJAX action by IP or require an authenticated session via a server-level rule (which will break any intended public-facing use of the action and may affect caching); and deploy a Content-Security-Policy with a strict script-src (for example 'self', avoiding unsafe-inline) to prevent injected inline script from executing, with the trade-off that legitimate themes and plugins using inline scripts may break and must be tested first. Because the attack requires a logged-in administrator to load the crafted URL, operational hardening also helps: prohibit privileged users from following unsolicited links while authenticated, use a separate low-privilege browser profile for day-to-day browsing, and rotate administrator credentials and review recent changes if an administrator may have been exposed, since script running in an admin session can be abused for site-level actions due to the scope change in the assessed vector.
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 root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation, i.e. cross-site scripting) in its reflected variant. WordPress plugins commonly expose AJAX handlers through admin-ajax.php, registered either as authenticated actions (wp_ajax_*) or unauthenticated ones (wp_ajax_nopriv_*). Document Gallery registers an unauthenticated action whose response embeds a caller-supplied parameter inside an HTML attribute; because the value is not sanitised and not escaped with the context-appropriate WordPress API (esc_attr() for attribute context, or esc_js()/wp_json_encode() where a script context is involved), an attacker can break out of the attribute's quoting and inject markup and script. The CVSS vector's scope change (S:C) reflects the classic WordPress XSS escalation path: although the vulnerable endpoint requires no authentication (PR:N), the attacker's real prize is a logged-in administrator's browser session, from which the injected script can act with administrative capabilities against the site as a whole. WordPress does not ship a restrictive Content-Security-Policy by default, so nothing at the platform level blunts the injected script. The provided CPE string uses an unknown vendor with a wildcard version (cpe:2.3:a:unknown:document_gallery:*:*:*:*:*:*:*:*), confirming that the affected product family is well defined but that version-level enumeration in the CPE is unreliable and the EUVD range (Document Gallery 0 through 5.1.1) should be treated as authoritative.
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:L
Unauthenticated network-reachable AJAX endpoint (PR:N, AV:N, AC:L) but requires victim to click a crafted link (UI:R); reflected XSS executing in a separate browser context yields S:C with limited C/I/A impact.
Primary rating from Vendor (WPScan).
CVSS VectorVendor: WPScan
Lifecycle Timeline
3DescriptionCVE.org
The Document Gallery WordPress plugin through 5.1.1 does not properly sanitise and escape user input before reflecting it inside an HTML attribute in the response of an unauthenticated AJAX action, leading to a Reflected Cross-Site Scripting vulnerability which can be exploited against any visitor, including a logged-in administrator.
Technical POC Analysis
Evidence base: the WPScan entry (WPVDB aa80cef6-b2fd-47ef-bac9-53438aa27573) and the advisory text supplied.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
The Document Gallery plugin for WordPress, in all versions through 5.1.1, contains a reflected cross-site scripting flaw that lets an attacker run malicious script in the browser of anyone who opens a crafted link - including a logged-in site administrator. Because no vendor patch is currently available and publicly available exploit code exists, every site running this plugin is exposed to an attack that requires no credentials, only a convincing link; successful exploitation could let an attacker act with an administrator's session privileges and alter site content or settings. Leadership should treat this as a manageable but time-sensitive exposure: impact is limited per victim to their browser session rather than direct server control, but administrative users are the highest-value target and remediation depends on interim mitigation until the vendor releases a fix.
No vendor-released patch identified at time of analysis. Interim mitigations: deactivate or uninstall the Document Gallery plugin (the only complete mitigation); apply WAF virtual patching to block malicious payloads against the plugin's AJAX actions; restrict or disable the affected AJAX endpoint where the plugin's functionality permits; enforce least-privilege WordPress roles and avoid day-to-day browsing of untrusted links while logged in as administrator; monitor web/app logs for encoded script payloads and review admin session activity for anomalies.
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 (XSS) in the WordPress Document Gallery plugin before version 5.1.1 allows unauthenticate
Unauthenticated information disclosure in the Document Gallery WordPress plugin through 5.1.1 lets any remote visitor ge
Stored cross-site scripting in the Document Gallery plugin for WordPress (all versions up to and including 5.1.1) allows
Unauthenticated cross-site scripting in the Document Gallery WordPress plugin (versions 5.1.1 and earlier) allows remote
Reflected cross-site scripting in the Dan Rossiter Document Gallery WordPress plugin (all versions up to and including 5
EUVD-2026-101853
GHSA-gqgr-238r-8rvc
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB