CVE-2026-57695

HIGH

WordPress Document Gallery plugin <= 5.1.0 - Cross Site Scripting (XSS) vulnerability

Title source: cna
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2026-57695. PoCs published by incogbyte.

AI-analyzed exploit summary Unauthenticated reflected XSS in Document Gallery WordPress plugin <= 5.1.0 via the `dg_generate_gallery` AJAX action. The vulnerability stems from unescaped user-supplied input in error messages, allowing arbitrary JavaScript execution in the context of a victim's browser.

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Dan Rossiter Document Gallery document-gallery allows Reflected XSS.This issue affects Document Gallery: from n/a through <= 5.1.0.

Exploits (1)

github WORKING POC 3 stars
by incogbyte · pythonpoc
https://github.com/incogbyte/wp-cve-exploits/tree/main/CVE-2026-57695

Unauthenticated reflected XSS in Document Gallery WordPress plugin <= 5.1.0 via the `dg_generate_gallery` AJAX action. The vulnerability stems from unescaped user-supplied input in error messages, allowing arbitrary JavaScript execution in the context of a victim's browser.

Classification
Working Poc 99%
Attack Type
Xss
Complexity
Trivial
Reliability
Reliable
Target: Document Gallery WordPress plugin <= 5.1.0
No auth needed
Prerequisites: Target must have Document Gallery plugin version <= 5.1.0 installed · Victim must visit a crafted URL
mistral-large-3 · analyzed Jul 14, 2026 Full analysis →

Scores

CVSS v3 7.1
EPSS 0.0018
EPSS Percentile 7.6%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-79
Status published
Products (1)
Dan Rossiter/Document Gallery < 5.1.0
Published Jul 13, 2026
Tracked Since Jul 13, 2026