Skip to main content
EPSS 0.2%top 94%

CVE-2026-12982: CWE-79 Cross-Site Scripting (XSS) in Document Gallery

0
Medium
VulnerabilityCVE-2026-12982cvecve-2026-12982cwe-79
Published: 07/27/2026 (07/27/2026, 06:00:02 UTC)
Source: CVE Database V5
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected software

Document Gallery

Affected versions
>=0 <5.1.1

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/30/2026, 01:27:22 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses