Stored cross-site scripting in Document Gallery WordPress plugin
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
The Document Gallery plugin by danrossiter for WordPress is affected in all versions up to and including 5.1.1. Insufficient input sanitization and output escaping (CWE-79) in the dg_thumber_webhook action request body lets an unauthenticated attacker store scripts that run when a user opens an injected page. Exploitation requires that logging is enabled in the plugin's Advanced settings, which an administrator must turn on unless WP_DEBUG is true.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
Description from the CNA
The Document Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via 'dg_thumber_webhook' Action Request Body in all versions up to, and including, 5.1.1 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Exploitation requires that logging be enabled in the plugin's Advanced settings, which is only the default state when WP_DEBUG is true; otherwise an administrator must manually enable it.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Dan Rossiter | Document Gallery | up to 5.1.1 | — | No fix listed | CNA |
- Document Gallery VendorDan Rossiter Affected up to 5.1.1 Fixed in — No fix listed CNA
Remediation
The sources list no fixed version for Document Gallery.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
Timeline
- 2026-10-14 Threatist record created from CVE-2026-77114
- 2026-10-14 Alias added: GHSA-w4hg-p2f9-2fj7
- 2026-10-14 Priority changed: MEDIUM → LOW
- 2026-10-16 CISA SSVC decision points changed
References
Other 5
- https://www.wordfence.com/threat-intel/vulnerabilities/id/8ec539ce-aa55-458d-9330-6b6513791ad3?source=cve
- https://plugins.trac.wordpress.org/browser/document-gallery/tags/5.1.1/src/admin/tabs/logging-tab.php#L99
- https://plugins.trac.wordpress.org/browser/document-gallery/tags/5.1.1/src/inc/thumbers/thumber-co/thumber-client/client.php#L124
- https://plugins.trac.wordpress.org/browser/document-gallery/tags/5.1.1/src/inc/thumbers/thumber-co/class-thumber-client.php#L169
- https://plugins.trac.wordpress.org/browser/document-gallery/tags/5.1.1/src/inc/thumbers/class-thumber-co-thumber.php#L181
More Dan Rossiter vulnerabilities
- TI-2026-41519 WordPress Document Gallery plugin <= 5.1.0 - Cross Site Scripting (XSS) vulnerability CVSS 3.1HIGH 7.1
- TI-2026-67977 Reflected cross-site scripting in WordPress Document Gallery plugin CVSS 3.1HIGH 7.1
- TI-2025-19476 WordPress Prezi Embedder plugin <= 2.1 - Stored Cross Site Scripting (XSS) vulnerability CVSS 3.1MEDIUM 6.5
Sources
- CVE-2026-77114 · CVE Program
- CVE-2026-77114 · NVD
- FIRST EPSS
- GHSA-w4hg-p2f9-2fj7 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences