CVE-2026-77114
Document Gallery <= 5.1.1 - Unauthenticated Stored Cross-Site Scripting
danrossiter Document Gallery
CVSS
7.2HighExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.31%Chance of exploitation activity in the next 30 days, higher than 22% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed inNone listedNo source names a fixed version yet
What fixes it
No source in this snapshot names a fixed version.
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.
Text from CVE List
Affected versions 1
- Document Galleryaffected: all versions through 5.1.1CVE List
References 5
- wordfence.com/threat-intel/vulnerabilities/id/8ec539ce-aa55-458d-9330-6b6513791ad3?source=cveReferencevia CVE List
- plugins.trac.wordpress.org/browser/document-gallery/tags/5.1.1/src/admin/tabs/logging-tab.php#L99Referencevia CVE List
- plugins.trac.wordpress.org/browser/document-gallery/tags/5.1.1/src/inc/thumbers/thumber-co/thumber-client/client.php#L124Referencevia CVE List
- plugins.trac.wordpress.org/browser/document-gallery/tags/5.1.1/src/inc/thumbers/thumber-co/class-thumber-client.php#L169Referencevia CVE List
- plugins.trac.wordpress.org/browser/document-gallery/tags/5.1.1/src/inc/thumbers/class-thumber-co-thumber.php#L181Referencevia CVE List