Skip to content
OpenAdvisories
Medium · 6.8 CVE-2026-74921 EUVD-2026-104098GHSA-5xmq-vg89-7x44

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

Published Oct 19, 2026 · Updated Oct 19, 2026 · Assigned by WPScan

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.

Affected products

VendorProductAffectedFixed
— Document Gallery 4.0 – ≤ 5.1.1 —

References