plugin

Document Gallery Vulnerabilities

16 known security issues reported for the Document Gallery WordPress plugin. Most recent disclosed Oct 19, 2026.

3 high 5 medium

Running Document Gallery on your site? Check whether your installed version is affected.

Scan your site free

Document Gallery [document-gallery] >= 4.1 - <= 5.1.1 (unfixed)

unknown

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.

Affected:
4.1 – 5.1.1
Fix:
No patched version reported
Disclosed:
Oct 19, 2026

CVE-2026-74922 on NVD →

Document Gallery [document-gallery] >= 4.0 - <= 5.1.1 (unfixed)

unknown

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 pr...

Affected:
4.0 – 5.1.1
Fix:
No patched version reported
Disclosed:
Oct 19, 2026

CVE-2026-74921 on NVD →

Document Gallery [document-gallery] <= 5.1.1 (unfixed)

unknown

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.

Affected:
up to 5.1.1
Fix:
No patched version reported
Disclosed:
Oct 16, 2026

CVE-2026-74923 on NVD →

Document Gallery [document-gallery] <= 5.1.1 (unfixed)

unknown

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-i...

Affected:
up to 5.1.1
Fix:
No patched version reported
Disclosed:
Oct 15, 2026

CVE-2026-74920 on NVD →

Document Gallery [document-gallery] <= 5.1.1 (unfixed)

unknown

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...

Affected:
up to 5.1.1
Fix:
No patched version reported
Disclosed:
Oct 14, 2026

CVE-2026-77114 on NVD →

Document Gallery <= 5.1.1 - Unauthenticated Stored Cross-Site Scripting

high

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...

CVSS:
7.2
(Wordfence)
Affected:
up to 5.1.1
Fix:
No patched version reported
Disclosed:
Oct 13, 2026

CVE-2026-77114 on NVD →

Document Gallery 4.0 - 5.1.1 - Authenticated (Contributor+) Stored Cross-Site Scripting

medium

The Document Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions 4.0 through 5.1.1. This is due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages...

CVSS:
6.4
(Wordfence)
Affected:
4.0 – 5.1.1
Fixed in:
5.1.2
Disclosed:
Oct 13, 2026

CVE-2026-74921 on NVD →

Document Gallery <= 5.1.1 - Reflected Cross-Site Scripting

medium

The Document Gallery plugin for WordPress is vulnerable to Reflected Cross-Site Scripting in all versions up to, and including, 5.1.1. This is due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they ca...

CVSS:
6.1
(Wordfence)
Affected:
up to 5.1.1
Fixed in:
5.1.2
Disclosed:
Oct 13, 2026

CVE-2026-74920 on NVD →

Document Gallery 4.1 - 5.1.1 - Unauthenticated Document Thumbnail Replacement

medium

The Document Gallery plugin for WordPress is vulnerable to incorrect authorization in versions 4.1 to 5.1.1. This makes it possible for unauthenticated attackers to replace document thumbnails.

CVSS:
5.3
(Wordfence)
Affected:
4.1 – 5.1.1
Fixed in:
5.1.2
Disclosed:
Oct 13, 2026

CVE-2026-74922 on NVD →

Document Gallery <= 5.1.1 - Unauthenticated Information Exposure

medium

The Document Gallery plugin for WordPress is vulnerable to Sensitive Information Exposure in all versions up to, and including, 5.1.1. This makes it possible for unauthenticated attackers to extract sensitive user or configuration data.

CVSS:
5.3
(Wordfence)
Affected:
up to 5.1.1
Fixed in:
5.1.2
Disclosed:
Oct 13, 2026

CVE-2026-74923 on NVD →

Document Gallery [document-gallery] < 5.1.2

unknown

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.

Affected:
up to 5.1.2
Fixed in:
5.1.2
Disclosed:
Oct 6, 2026

CVE-2026-39781 on NVD →

Document Gallery <= 5.1.1 - Unauthenticated Stored Cross-Site Scripting

high

The Document Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting in all versions up to, and including, 5.1.1. This is 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...

CVSS:
7.2
(Wordfence)
Affected:
up to 5.1.1
Fixed in:
5.1.2
Disclosed:
Oct 5, 2026

CVE-2026-39781 on NVD →

Document Gallery [document-gallery] < 5.1.1

unknown

[en] 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.0.

Affected:
up to 5.1.1
Fixed in:
5.1.1
Disclosed:
Jul 13, 2026

CVE-2026-57695 on NVD →

Document Gallery <= 5.1.0 - Unauthenticated Stored Cross-Site Scripting

high

The Document Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions up to, and including, 5.1.0 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 acces...

CVSS:
7.2
(Wordfence)
Affected:
up to 5.1.0
Fixed in:
5.1.1
Disclosed:
Jul 10, 2026

CVE-2026-57695 on NVD →

Document Gallery <= 5.1.0 - Reflected Cross-Site Scripting

medium

The Document Gallery plugin for WordPress is vulnerable to Reflected Cross-Site Scripting in versions up to, and including, 5.1.0 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfull...

CVSS:
6.1
(Wordfence)
Affected:
up to 5.1.0
Fixed in:
5.1.1
Disclosed:
Jul 6, 2026

CVE-2026-12982 on NVD →

Document Gallery [document-gallery] < 5.1.1

unknown

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.

Affected:
up to 5.1.1
Fixed in:
5.1.1

CVE-2026-12982 on NVD →

Protect your WordPress site

Run a free security scan to detect vulnerable plugins and themes, exposed files, and malware — no plugin install, no signup.

Scan your site free

← Back to the vulnerability database