CVE-2026-74921
MEDIUM
6.8
CVSS 3.1
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 WordPress components
-
Document Gallery Plugin · document-galleryFrom 4.0 (including) to 5.1.1 (including)View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- Unknown Document Gallery — From 4.0 (including) to 5.1.1 (including)
References
- wpscan.com https://wpscan.com/vulnerability/b0b97661-c671-420c-8fca-22666862b379/
- nvd.nist.gov Official NVD record