CVE-2026-57695
Deferred Deferred - Pending Action

Cross-Site Scripting in Document Gallery WordPress Plugin

Vulnerability report for CVE-2026-57695, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-13

Last updated on: 2026-07-13

Assigner: Patchstack

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-13
Last Modified
2026-07-13
Generated
2026-08-02
AI Q&A
2026-07-13
EPSS Evaluated
2026-08-01
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
dan_rossiter document_gallery to 5.1.0 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a Cross Site Scripting (XSS) issue found in the WordPress Document Gallery Plugin versions 5.1.0 and earlier. It occurs due to improper neutralization of input during web page generation, allowing attackers to inject malicious scripts into the website.

Exploitation requires user interaction, such as clicking a malicious link or visiting a specially crafted page. Once exploited, attackers can execute scripts that may redirect users or display unwanted advertisements.

Detection Guidance

This vulnerability is a Reflected Cross Site Scripting (XSS) issue in the WordPress Document Gallery Plugin versions 5.1.0 and earlier. Detection typically involves monitoring for suspicious HTTP requests that include malicious script payloads or unusual URL parameters that could trigger the XSS.

While no specific commands are provided in the resources, common detection methods include using web application scanners or manual inspection of HTTP requests and responses for injected scripts.

  • Use tools like curl or wget to send crafted requests to the affected endpoints and observe if the response reflects the input without proper sanitization.
  • Employ web vulnerability scanners such as OWASP ZAP or Burp Suite to automate detection of reflected XSS vulnerabilities.
Impact Analysis

This vulnerability can lead to attackers injecting malicious scripts into your website, potentially redirecting visitors to harmful sites or displaying unauthorized advertisements.

Because the vulnerability has a CVSS score of 7.1, it represents a moderate risk and could be exploited in widespread attacks targeting many websites.

Successful exploitation requires user interaction, so users clicking on malicious links or visiting crafted pages are at risk.

Compliance Impact

This vulnerability, a reflected Cross-Site Scripting (XSS) issue, can impact compliance with standards and regulations like GDPR and HIPAA due to its potential to compromise data integrity and confidentiality.

  • GDPR: Under GDPR, organizations must protect personal data from unauthorized access or manipulation. An XSS vulnerability could allow attackers to steal user session cookies, credentials, or other sensitive information, leading to a data breach. This may result in non-compliance with GDPR's data protection requirements (Articles 5, 25, and 32), potentially triggering fines or legal action.
  • HIPAA: For organizations handling protected health information (PHI), HIPAA requires safeguards to ensure the confidentiality, integrity, and availability of PHI. An XSS attack could expose PHI or allow unauthorized modifications, violating HIPAA's Security Rule (45 CFR Part 164, Subpart C). This could lead to penalties or corrective action plans.
  • Other standards: Compliance frameworks like ISO 27001 or PCI DSS also emphasize secure coding practices and protection against injection attacks. Failure to mitigate XSS vulnerabilities may result in non-compliance with these standards, affecting certifications or contractual obligations.

The CVSS score of 7.1 indicates a moderate risk, but the potential for exploitation in mass campaigns heightens the urgency for remediation to avoid regulatory scrutiny.

Mitigation Strategies

The recommended immediate mitigation is to update the WordPress Document Gallery Plugin to version 5.1.1 or later, where the vulnerability is fixed.

Until the update can be applied, Patchstack has issued a mitigation rule that can be used to block attacks exploiting this vulnerability.

  • Update the Document Gallery plugin to version 5.1.1 or newer.
  • Apply the Patchstack mitigation rule to block potential XSS attack attempts.
  • Educate users to avoid clicking suspicious links that could trigger the reflected XSS.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-57695. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart