CVE-2026-74921: unknown document gallery Cross-site Scripting
Vulnerability summary
CVE-2026-74921 is a medium (CVSS 6.8) Cross-site Scripting vulnerability in unknown document gallery. EPSS estimates a 0.24% chance of exploitation in the next 30 days, higher than 13.5% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 19-10-2026PublishedVulnerability first disclosed.
- 19-10-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST6.8MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.24%
Chance of exploitation in the next 30 days
Percentile
14%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (wpscan.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Unknown1 product
- document gallery≥ 4.0, ≤ 5.1.1
1 vendor · 1 product