Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious XSS payload/URL
-
DeliveryDeliver crafted link to victim
-
ExploitVictim's browser renders unsanitized input
-
ExecutionAttacker JavaScript executes in site origin
-
ImpactSteal session/perform forged actions
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 Document Gallery WordPress plugin at version 5.1.1 or earlier and requires no authentication (PR:N), but it does require victim user interaction (UI:R) - a user must open a crafted link or view attacker-influenced gallery content for the injected script to execute in their browser. The limiting factors are therefore the need for social-engineering/user interaction and the requirement that the vulnerable plugin be installed and the affected code path reachable; impact is bounded by the browser's same-origin context of the WordPress site rather than the server itself. The exact vulnerable parameter/feature is not named in the available description. |
| Impact | This is a moderate-severity unauthenticated XSS (CWE-79) in the Document Gallery WordPress plugin (<=5.1.1), reported by Patchstack with a CVSS 3.1 base score of 7.1 (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L). The network vector, low complexity, and no-privilege requirements make it easy to reach, but the UI:R flag means a victim must perform an action (e.g. clicking a crafted link or viewing attacker-influenced content), which meaningfully reduces the likelihood of automated mass exploitation. No EPSS score, CISA KEV listing, or public POC was provided in the source data, so there is no evidence of active exploitation or weaponization - the elevated 7.1 is driven largely by the scope-change (S:C) and the assumption of low impact across C/I/A, which is somewhat generous for a typical reflected/stored XSS (availability impact on XSS is debatable). Overall this reads as a real but routine web-application vulnerability to patch on a normal cycle rather than an emergency: no public exploit identified at time of analysis, exploitation requires user interaction, and the real-world ceiling is session/credential theft or action-forgery within the affected site rather than direct server compromise. Note the A:L in the input vector is questionable for XSS - see the assessed vector below. |
| Exploit ScenarioDerived | An unauthenticated attacker crafts a malicious URL or payload targeting the vulnerable Document Gallery input, then lures a logged-in site visitor or administrator into viewing it. When the victim's browser renders the unsanitized content, attacker-controlled JavaScript executes in the site's origin, enabling session cookie theft, credential harvesting, or forged privileged actions. No public exploit code was identified at time of analysis, and the attack depends on the victim interacting with the crafted content (UI:R). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 06, 2026
Unauthenticated cross-site scripting in the Document Gallery WordPress plugin (versions 5.1.1 and earlier) allows remote attackers to inject script that executes in the browser of any user who opens a crafted link or views attacker-influenced gallery content, consistent with an assessed CVSS 3.1 base score of 7.1 (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N). No authentication is required (PR:N) and no server-side privileges are needed, but exploitation depends on victim interaction (UI:R), which limits reliable mass exploitation. No public exploit code or confirmed in-the-wild exploitation was identified at time of analysis; the issue was reported by Patchstack and affects any WordPress site running the vulnerable plugin.
RemediationAI
No vendor-released patch or fixed version number is identified in the available data for this issue, so the primary action is to check the Patchstack advisory (https://patchstack.com/database/wordpress/plugin/document-gallery/vulnerability/wordpress-document-gallery-plugin-5-1-1-cross-site-scripting-xss-vulnerability?_s_id=cve) and the WordPress plugin directory for an update above 5.1.1 and apply it as soon as one is published; do not deploy an unverified version number. If no fixed release is available, compensating controls are: deactivate and, if unused, remove the Document Gallery plugin entirely (full protection, at the cost of losing gallery functionality and possibly breaking shortcode-driven pages); if it must stay active, restrict the ability to create or edit galleries and documents to trusted, high-privilege roles only and audit existing galleries for injected markup, since the attack path depends on attacker-influenced content being rendered (this reduces exposure to stored variants but not to content an attacker can otherwise inject). Deploy a WAF or content-security-policy rules that block inline script execution on pages emitting gallery output - CSP will break sites relying on inline scripts, so test in report-only mode first - and treat the requirement for user interaction (UI:R) as mitigating by training editors to avoid untrusted gallery links and by limiting public exposure of gallery endpoints to reduce social-engineering reach.
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
Document Gallery is a WordPress plugin (CPE cpe:2.3:a:dan_rossiter:document_gallery) that renders document/attachment listings and galleries via shortcodes and plugin output routines. The flaw is CWE-79 (Improper Neutralization of Input During Web Page Generation, i.e., cross-site scripting): user-controllable input reaching a gallery rendering path is not adequately escaped or sanitized before being emitted into HTML, so script content is reflected or stored and executed in the victim's browser within the WordPress site's origin. The CVSS vector shows scope change (S:C) and low confidentiality, integrity, and availability impact, meaning the script runs in the security context of the affected WordPress site rather than escalating to server compromise; the assessed vector rates availability impact as none (A:N) while the supplied vector lists A:L, so impact should be treated as bounded to the client-side browser session, cookie/session material exposed to that origin, and page content manipulation. The exact vulnerable parameter or gallery feature is not identified in the available description, and no vulnerable-version CPE range boundary is supplied beyond the advisory's statement that versions up to and including 5.1.1 are affected.
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 remote XSS over the network requiring victim interaction (UI:R) with a scope change into the browser context; low C/I impact, but availability is not realistically affected so A:N.
Primary rating from Vendor (Patchstack).
CVSS VectorVendor: Patchstack
DescriptionCVE.org
Unauthenticated Cross Site Scripting (XSS) in Document Gallery <= 5.1.1 versions.
Executive ViewAI
Organizations running WordPress sites with the Document Gallery plugin versions 5.1.1 and earlier face an unauthenticated browser-based script injection risk that can compromise visitor or administrator sessions and enable unauthorized actions on affected sites. No public exploit identified at time of analysis, but no vendor-released patch is available, so any internet-facing site using the vulnerable plugin should be prioritized for immediate mitigation. Leadership should care because a successful attack can undermine trust in public-facing content and potentially lead to broader site compromise through administrative sessions.
No vendor-released patch identified at time of analysis; disable or remove Document Gallery plugin versions 5.1.1 and earlier, restrict access to galleries and wp-admin, deploy WAF rules to block XSS attempts, and monitor logs for exploitation attempts.
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
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
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
EUVD-2026-93029
GHSA-xj76-v28p-2mqj
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB