CVE-2026-74921 Document Gallery 4.0 - 5.1.1 - Contributor+ Stored XSS via Gallery Shortcode Attributes
MediumCVSS 6.8
EPSS 0.23%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- WordPress
Description
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| wordpress document-gallery(WordPress) | >= 4.0, < 5.1.2 | 5.1.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| wordpress document-gallery(WordPress) | >= 4.0, < 5.1.2 | 5.1.2 |
References
- wpscan.com exploit technical-description vdb-entry
- Wordfence Intelligence third-party-advisory
- www.cve.org
- ENISA EUVD EUVD-2026-104098 third-party-advisory