CVE-2026-77114: Document Gallery <= 5.1.1 - Unauthenticated Stored Cross-Site Scripting

Published Oct 14, 2026
·
Updated

The Document Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via 'dgthumberwebhook' 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 WPDEBUG is true; otherwise an administrator must manually enable it.

Affected Software

1 affected component
Document Gallery Document Gallery<=5.1.1

Event History

Oct 14, 2026
CVE Published
via MITRE·03:40 AM
Data Sourced
via MITRE·03:40 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

When is the vulnerable logging functionality enabled by default?

Logging is enabled by default only when WP_DEBUG is true. If WP_DEBUG is not true, an administrator must have manually enabled logging in the plugin's Advanced settings for exploitation to be possible.

2

What access does an attacker need to exploit this issue?

An attacker does not need authentication or user interaction to submit the malicious Action Request Body to dg_thumber_webhook. The injected script executes later when a user accesses a page containing the stored payload, provided plugin logging is enabled.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203