CVE-2026-12982: CWE-79 Cross-Site Scripting (XSS) in Document Gallery
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.
AI Analysis
Technical Summary
The Document Gallery WordPress plugin versions prior to 5.1.1 contain a reflected XSS vulnerability (CWE-79) due to improper sanitization and escaping of user input in an unauthenticated AJAX action response. This flaw allows attackers to inject malicious scripts that execute in the context of users who access the vulnerable AJAX endpoint without authentication. The vulnerability is publicly known and assigned CVE-2026-12982 with a CVSS 3.1 base score of 6.1, indicating medium severity. No official patch or remediation level has been confirmed in the provided data.
Potential Impact
Successful exploitation could allow an attacker to execute arbitrary scripts in the browsers of unauthenticated users interacting with the vulnerable AJAX action. This may lead to limited confidentiality and integrity impacts, such as theft of user data or session manipulation. There is no indication of availability impact. The vulnerability affects unauthenticated users, increasing the attack surface.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Users of the Document Gallery plugin should monitor official sources for updates or patches addressing this vulnerability. Until a fix is available, consider disabling or restricting access to the vulnerable AJAX action if possible.
CVE-2026-12982: CWE-79 Cross-Site Scripting (XSS) in Document Gallery
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 v3.1
Score 6.1medium
Affected software
Document Gallery
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Document Gallery WordPress plugin versions prior to 5.1.1 contain a reflected XSS vulnerability (CWE-79) due to improper sanitization and escaping of user input in an unauthenticated AJAX action response. This flaw allows attackers to inject malicious scripts that execute in the context of users who access the vulnerable AJAX endpoint without authentication. The vulnerability is publicly known and assigned CVE-2026-12982 with a CVSS 3.1 base score of 6.1, indicating medium severity. No official patch or remediation level has been confirmed in the provided data.
Potential Impact
Successful exploitation could allow an attacker to execute arbitrary scripts in the browsers of unauthenticated users interacting with the vulnerable AJAX action. This may lead to limited confidentiality and integrity impacts, such as theft of user data or session manipulation. There is no indication of availability impact. The vulnerability affects unauthenticated users, increasing the attack surface.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Users of the Document Gallery plugin should monitor official sources for updates or patches addressing this vulnerability. Until a fix is available, consider disabling or restricting access to the vulnerable AJAX action if possible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- WPScan
- Date Reserved
- 2026-06-23T11:36:33.944Z
- State
- PUBLISHED
Threat ID: 6a66f9409c2644c7f888b441
Added to database: 07/27/2026, 06:22:56 UTC
Last enriched: 07/30/2026, 01:27:22 UTC
Last updated: 09/11/2026, 07:31:51 UTC
Views: 45
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.