Cross-Site Scripting Vulnerability in Document Gallery Plugin by WordPress
CVE-2026-74921
Key Information:
- Vendor
WordPress
- Status
- Vendor
- CVE Published:
- 19 October 2026
Badges
What is CVE-2026-74921?
The Document Gallery plugin for WordPress, up to version 5.1.1, suffers from a Cross-Site Scripting vulnerability due to inadequate sanitization and escaping of several gallery shortcode attributes. This flaw permits users with the Contributor role or higher to inject arbitrary event handlers into the rendered HTML. Consequently, when content is viewed by administrators or users with elevated privileges, these injected scripts may execute, potentially compromising the integrity of the site.
Affected Version(s)
Document Gallery 4.0 <= 5.1.1
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
References
CVSS V3.1
Timeline
- ๐ก
Public PoC available
- ๐พ
Exploit known to exist
Vulnerability published
Vulnerability Reserved