Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft URL with XSS payload for Document Gallery param
-
DeliveryDeliver link via phishing or social post
-
ExploitVictim with WordPress session opens link
-
ExecutionReflected script executes in site context
-
ImpactSteal session/cookies or act as victim
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 requires that a victim with an active session on the target WordPress site clicks or loads an attacker-crafted link targeting the Document Gallery plugin's reflected parameter (UI:R in the CVSS vector), so it is not fully automatable and cannot be triggered server-side without a lured user. No authentication is required of the attacker (PR:N), the target must simply be running Document Gallery at version 5.1.0 or earlier with the plugin active, and the request is network-reachable (AV:N/AC:L). The chief limiting factors are the mandatory user interaction, the non-persistent reflected nature (payload is not stored, so each target must be individually delivered the link), and the requirement that the vulnerable plugin be installed and enabled. |
| Impact | The CVSS 3.1 base score is 7.1 (High) with vector AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L: network-reachable, low complexity, no privileges, but requiring user interaction (the victim must open a crafted link), with limited confidentiality, integrity and availability impact amplified by a scope change. No EPSS score was provided in the input, and there is no KEV listing and no POC reference, so real-world exploitation pressure appears low and opportunistic rather than mass-automated. The dependence on victim interaction (UI:R) and the reflected (non-persistent) nature meaningfully limit blast radius compared to stored XSS: each victim must be individually lured. This is a legitimate patch-worthy issue for affected sites, but absent EPSS/KEV/POC signals it is not an emergency-tier, wormable vulnerability. No conflicting signals were detected in the provided data; the main gap is the absence of EPSS and an explicitly named fixed version. |
| Exploit ScenarioDerived | An attacker crafts a URL pointing at the vulnerable WordPress site with a malicious script payload embedded in a parameter handled by Document Gallery, then delivers it via phishing email, forum post, or social media. When a logged-in administrator or visitor clicks the link, their browser reflects and executes the script in the site's context, allowing session/cookie theft or actions on the victim's behalf. No public POC is referenced, but reflected XSS of this class is straightforward to weaponize given low attack complexity. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 13, 2026
Reflected cross-site scripting in the Dan Rossiter Document Gallery WordPress plugin (all versions up to and including 5.1.0) lets an unauthenticated attacker inject script into a reflected response that executes in a victim's browser when they follow a crafted link. Because the CVSS scope is changed, the injected script can affect resources beyond the vulnerable component (e.g., the surrounding WordPress session context). This flaw was reported by Patchstack; no public exploit code has been identified and it is not listed in CISA KEV at time of analysis.
RemediationAI
No vendor-released patched version is named in the available data, so treat the primary action as upgrading to any release later than 5.1.0 once the maintainer publishes a fixed build, and monitor the Patchstack advisory (https://patchstack.com/database/Wordpress/Plugin/document-gallery/vulnerability/wordpress-document-gallery-plugin-5-1-0-cross-site-scripting-xss-vulnerability) and the plugin's WordPress.org listing for that release. Until a fixed version is confirmed, apply a Web Application Firewall or Patchstack virtual patch to filter script-injection payloads in requests to the plugin's endpoints, which adds request-inspection overhead and can be bypassed by novel encodings; alternatively deactivate and remove the Document Gallery plugin, which fully removes exposure at the cost of losing its document-listing functionality on the site. Restricting or sanitizing the reflected request parameters at the reverse proxy and setting a restrictive Content-Security-Policy that disallows inline script can further reduce the chance of injected script executing, though CSP may break legitimate inline scripts on the theme.
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 affected component is Document Gallery, a WordPress plugin (CPE cpe:2.3:a:dan_rossiter:document_gallery) used to display collections of documents/attachments in posts and pages. The root cause is CWE-79, Improper Neutralization of Input During Web Page Generation, in the reflected variant: user-controllable input (typically a request/query parameter) is echoed back into an HTML response without proper output encoding or input sanitization, so an attacker-supplied value is parsed as active markup/script. The scope-changed CVSS vector (S:C) indicates the executed script operates in the trust context of the WordPress site rather than being confined to an isolated component.
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
Network-reachable reflected XSS needs no attacker auth (PR:N) but requires victim to open a crafted link (UI:R); script escapes component trust boundary (S:C) with limited C/I/A impact.
Primary rating from Vendor (Patchstack).
CVSS VectorVendor: Patchstack
DescriptionCVE.org
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Dan Rossiter Document Gallery document-gallery allows Reflected XSS.This issue affects Document Gallery: from n/a through <= 5.1.0.
Executive ViewAI
The Dan Rossiter Document Gallery WordPress plugin (all versions through 5.1.0) contains an unauthenticated cross-site scripting vulnerability allowing attackers to inject malicious scripts into victim browsers via crafted links, compromising WordPress user sessions and site data. Although no public exploit identified at time of analysis, the vulnerability affects any WordPress site running this plugin and has no vendor patch currently available. Organizations must immediately inventory deployment scope and enforce interim protections to prevent session hijacking and unauthorized site access.
Disable or remove the plugin until a vendor patch is released; deploy Web Application Firewall rules to detect and block XSS injection attempts targeting plugin endpoints; implement IP-based access restrictions on plugin functionality; establish log monitoring to detect exploitation attempts in web server access logs.
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
Reflected 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
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
Unauthenticated cross-site scripting in the Document Gallery WordPress plugin (versions 5.1.1 and earlier) allows remote
EUVD-2026-43356
NVD
CVE.org
EPSS
Vulnrichment
GitHub PoC
Exploit-DB