HomeWordPress vulnerabilitiesDocument Gallery
Document Gallery vulnerabilities
Document Gallery has 7 known vulnerabilities in this database. The most recent published record is dated 19 Oct 2026.
- Known vulnerabilities
- 7
- Active installs
- 8,000+
- Latest version
- 5.1.2
- Last updated
- 28 Oct 2026
- Most recent
- 19 Oct 2026
Find it in your WordPress dashboard under Plugins. Severity is based on the CVSS score published with the CVE where one is available.
| Vulnerability | Severity | Affected | Fix | Published |
|---|---|---|---|---|
| Security weakness CVE-2026-74922 | Medium 5.3 | Up to 5.1.1 | Fixed in a later version (latest 5.1.2) | 19 Oct 2026 |
| Cross-site scripting (XSS) CVE-2026-74921 | Medium 6.8 | Up to 5.1.1 | Fixed in a later version (latest 5.1.2) | 19 Oct 2026 |
| Sensitive data exposure CVE-2026-74923 | Medium 5.3 | Up to 5.1.1 | Fixed in a later version (latest 5.1.2) | 16 Oct 2026 |
| Cross-site scripting (XSS) CVE-2026-74920 | High 7.1 | Up to 5.1.1 | Fixed in a later version (latest 5.1.2) | 15 Oct 2026 |
| Cross-site scripting (XSS) CVE-2026-77114 | High 7.2 | Up to 5.1.1 | Fixed in a later version (latest 5.1.2) | 14 Oct 2026 |
| Cross-site scripting (XSS) CVE-2026-39781 | High 7.1 | Up to 5.1.1 | Fixed in a later version (latest 5.1.2) | 6 Oct 2026 |
| Cross-site scripting (XSS) CVE-2026-12982 | Medium 6.1 | Before 5.1.1 | Fixed in 5.1.1 | 27 Jul 2026 |
Read the published descriptions
- CVE-2026-74922, 19 Oct 2026
- The Document Gallery WordPress plugin through 5.1.1 does not verify the signature on one of its unauthenticated webhook endpoints when no shared secret has been configured, which is the default state, allowing unauthenticated users to replace the thumbnail image the site publishes for any document. CVE record
- CVE-2026-74921, 19 Oct 2026
- The Document Gallery WordPress plugin through 5.1.1 does not sanitise or escape several gallery shortcode attributes before embedding them in a single-quoted HTML attribute in the rendered gallery markup, allowing users with the Contributor role and above to inject arbitrary event handlers that execute when a higher privileged user views the content. CVE record
- CVE-2026-74923, 16 Oct 2026
- The Document Gallery WordPress plugin through 5.1.1 does not perform any capability or ownership check when generating a gallery on demand, allowing unauthenticated users to enumerate and disclose the titles, descriptions and direct file URLs of media attached to unpublished, private or trashed content. CVE record
- CVE-2026-74920, 15 Oct 2026
- The Document Gallery WordPress plugin through 5.1.1 does not properly sanitise and escape user input before reflecting it inside an HTML attribute in the response of an unauthenticated AJAX action, leading to a Reflected Cross-Site Scripting vulnerability which can be exploited against any visitor, including a logged-in administrator. CVE record
- CVE-2026-77114, 14 Oct 2026
- 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. CVE record
- CVE-2026-39781, 6 Oct 2026
- Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Dan Rossiter Document Gallery document-gallery allows Reflected XSS.This issue affects Document Gallery: from n/a through 5.1.1. CVE record
- CVE-2026-12982, 27 Jul 2026
- The Document Gallery WordPress plugin before 5.1.1 does not properly sanitise and escape user input before reflecting it back in the response of an unauthenticated AJAX action, leading to a Reflected Cross-Site Scripting vulnerability which can be exploited against unauthenticated users. CVE record
What to do if you run Document Gallery
If you run Document Gallery, open WordPress and check the installed version in Plugins. Compare it with the affected versions in the vulnerability record. If a fixed version is available, take a current backup and update to that version or the latest supported release.
If no fixed version exists, consider disabling and removing the plugin or replacing it with a maintained alternative. After dealing with the affected software, check administrator users, unexpected file changes, redirects, unfamiliar pages and security logs for signs that the site may already have been altered.
Email me about new Document Gallery vulnerabilities
Free. We email you when a new vulnerability is published for Document Gallery, usually within minutes. Confirm by email; unsubscribe any time.
Focus on your business. We’ll take care of your website.
From everyday updates to ongoing care, we keep your website working.