---
id: CVE-2026-39781
title: >-
  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.1.
summary: >-
  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.1.
severity: high
cvss: 7.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L'
cwe:
  - CWE-79
vendor: Dan Rossiter
product: document-gallery
affected:
  - document-gallery <= 5.1.1
published: '2026-10-06'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T09:17:17.570'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-39781'
references:
  - url: >-
      https://patchstack.com/database/wordpress/plugin/document-gallery/vulnerability/wordpress-document-gallery-plugin-5-1-1-cross-site-scripting-xss-vulnerability?_s_id=cve
    label: audit@patchstack.com
tags:
  - nvd
  - cve.org
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-06T10:12:43.910040Z'
epss: 0.00175
epssPercentile: 0.06911
ingestedAt: '2026-10-06T08:50:17.479Z'
---

## Overview

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.1.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
