CVE-2026-74921

published 19 Oct 2026 · updated 19 Oct 2026

Document Gallery 4.0 - 5.1.1 - Contributor+ Stored XSS via Gallery Shortcode Attributes

7.8HighCVSS 6.8EPSS 0%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
>=4.0 <=5.1.1

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-74921 severity on Zeptric[![CVE-2026-74921](https://zeptric.io/badge/cve/CVE-2026-74921.svg)](https://zeptric.io/cve/CVE-2026-74921)