CVE-2026-74920 Document Gallery <= 5.1.1 - Reflected XSS via data-shortcode Attribute
Reflected XSS in Document Gallery plugin allows attackers to execute scripts in victim browsers, potentially compromising admin accounts.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-74920?
CVE-2026-74920 is a high-severity cross-site scripting vulnerability in Unknown Document Gallery, published on 15 Oct 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
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.
Weakness: CWE-79
Which versions are affected by CVE-2026-74920?
How do I fix CVE-2026-74920?
No fix has been published for CVE-2026-74920 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2026-74920 being exploited?
There is no known exploitation of CVE-2026-74920 in the wild and no public exploit code.
Sources
Also known as GHSA-gqgr-238r-8rvc.