XSS in Document Gallery

CVE-2026-12982

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 whic…

Vulnerability class: XSS (Cross-Site Scripting)

CVSS v3 metric

CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.

Affected products

  • Unknown Document Gallery — versions 0

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-12982?
CVE-2026-12982 is a medium-severity vulnerability in Document Gallery, classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2026-07-27.
How severe is CVE-2026-12982?
Medium severity. CVSS v3 base score is 6.1 out of 10.