CVE-2026-74921
6.8medium
Document Gallery 4.0 - 5.1.1 - Contributor+ Stored XSS via Gallery Shortcode Attributes
- Severity
- 6.8medium CVSS:3.1 by WPScan
- Exploit likelihood
- 0.23% (higher than 14% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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
| Product or package | Versions | Reported by |
|---|---|---|
| Unknown Document Gallery | from 4.0 up to 5.1.1 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
References
| https://wpscan.com/vulnerability/b0b97661-c671-420c-8fca-22666862b379/ | exploit, technical-description, vdb-entry | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-74921 changed 2026-10-19 | CVE Terms of Use |
| NVD | CVE-2026-74921 changed 2026-10-19 | Public domain |