CVE-2026-12982: unknown document gallery Cross-site Scripting
Vulnerability summary
CVE-2026-12982 is a medium (CVSS 6.1) Cross-site Scripting vulnerability in unknown document gallery. EPSS estimates a 0.27% chance of exploitation in the next 30 days, higher than 18.7% of scored vulnerabilities. 1 public exploit is recorded. Fixed in 5.1.1.
Timeline
- 27-07-2026PublishedVulnerability first disclosed.
- 27-07-2026Last modifiedVulnerability information updated.
Description
The Document Gallery WordPress plugin before 5.1.1 does not properly sanitise and escape user input before reflecting it back in the response of an unauthenticated AJAX action, leading to a Reflected Cross-Site Scripting vulnerability which can be exploited against unauthenticated users.
CVSS metrics
3 scores · 3 sources · 1 version- NVDNIST6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- wordfenceSource6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS trend
Probability
0.27%
Chance of exploitation in the next 30 days
Percentile
19%
Versus all other CVEs
30-day change
+0.11 pp
From 0.16% on 19-09-2026
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< 5.1.1
Wordpress1 product
- document-gallery≤ 5.1.0 (fixed in 5.1.1)
2 vendors · 2 products