CVE-2026-12982
published medium CVSS 3.1 · 6.1Document Gallery < 5.1.1 - Reflected XSS via dg_generate_gallery
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Unknown | — | Document Gallery0 to < 5.1.1 · Other versions: unaffected | Affected | Not stated | WPScan |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.1 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Unknown | Document Gallery | 0 to < 5.1.1 (affected · semver)Default: unaffected | WPScan · cna |
Weaknesses
2- CWE-79 CWE-79 Cross-Site Scripting (XSS)
- CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
1Provider assertions
2WPScan · cna
Document Gallery < 5.1.1 - Reflected XSS via dg_generate_gallery
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d947114a02c2c2b8e7a5fbbe23c9b92620105db3ecf8e7f561f34ac6d2be748e
- Ingested
- 23 Sep 2026, 09:01:12 UTC
- Source record
- Official CVE record