CVE-2026-74920: CWE-79 Cross-Site Scripting (XSS) in Document Gallery
Description
The Document Gallery WordPress plugin through 5.1.1 does not properly sanitise and escape user input before reflecting it inside an HTML attribute in the response of an unauthenticated AJAX action, leading to a Reflected Cross-Site Scripting vulnerability which can be exploited against any visitor, including a logged-in administrator.
CVSS v3.1
Score 7.1high
Affected software
Document Gallery
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Document Gallery WordPress plugin versions up to and including 5.1.1 contain a reflected Cross-Site Scripting (CWE-79) vulnerability. This occurs due to improper sanitization and escaping of user input before it is reflected inside an HTML attribute in the response to an unauthenticated AJAX request. An attacker can exploit this vulnerability to execute arbitrary JavaScript in the browsers of visitors, including administrators, potentially leading to session hijacking or other malicious actions.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary scripts in the context of any visitor's browser, including logged-in administrators. This can lead to theft of session tokens, defacement, or other malicious actions performed with the privileges of the victim user. The vulnerability affects all visitors who trigger the vulnerable AJAX action.
Mitigation Recommendations
No official patch or fix is currently documented for this vulnerability. Users should monitor the vendor's advisory for updates. Until a fix is available, consider disabling or restricting access to the vulnerable AJAX action if possible, or applying web application firewall (WAF) rules to block malicious input targeting this vulnerability.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- WPScan
- Date Reserved
- 2026-08-17T11:27:39.155Z
- State
- PUBLISHED
Threat ID: 6ad0776a2cdf04f6560ed3b5
Added to database: 10/15/2026, 06:49:14 UTC
Last enriched: 10/15/2026, 07:04:34 UTC
Last updated: 10/15/2026, 19:00:28 UTC
Views: 14
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.