CVE-2026-12982 PUBLISHED

Document Gallery < 5.1.1 - Reflected XSS via dg_generate_gallery

Assigner: WPScan
Reserved: 23.06.2026 Published: 27.07.2026 Updated: 27.07.2026

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.

Product Status

Vendor Unknown
Product Document Gallery
Versions Default: unaffected
  • affected from 0 to 5.1.1 (excl.)

Credits

  • João Ramos Maciel finder
  • WPScan coordinator

References

Problem Types

  • CWE-79 Cross-Site Scripting (XSS) CWE