Medium severity6.8NVD Advisory· Published Oct 19, 2026· Updated Oct 19, 2026
CVE-2026-74921
CVE-2026-74921
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
1- Range: <=5.1.1
Patches
Vulnerability mechanics
References
1News mentions
1- Wordfence Intelligence Weekly WordPress Vulnerability Report (October 12, 2026 to October 18, 2026)Wordfence Blog · Oct 23, 2026