CVE-2026-77114
published high CVSS 3.1 · 7.2Document Gallery <= 5.1.1 - Unauthenticated Stored Cross-Site Scripting
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| danrossiter | — | Document Gallery0 through 5.1.1 · Other versions: unaffected | Affected | Not stated | Wordfence |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.2 / 10
- Severity
- high
- Provider
- Wordfence · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| danrossiter | Document Gallery | 0 through 5.1.1 (affected · semver)Default: unaffected | Wordfence · cna |
Weaknesses
1- CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
5- 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/class-thumber-co-thumber.php#L181
- 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/thumber-co/thumber-client/client.php#L124
- https://www.wordfence.com/threat-intel/vulnerabilities/id/8ec539ce-aa55-458d-9330-6b6513791ad3?source=cve
Provider assertions
2Wordfence · cna
Document Gallery <= 5.1.1 - Unauthenticated Stored Cross-Site Scripting
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0e271e7a272638d3acc966daf22bc133a04196327c908c7491b993bb100c11ca
- Ingested
- 15 Oct 2026, 17:54:57 UTC
- Source record
- Official CVE record