What the vulnerability does
01Description
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.
Explanation of Vulnerability in Simple Terms
02Summary
Document Gallery versions up to 5.1.0 contain a cross-site scripting (XSS) vulnerability that allows attackers to inject malicious scripts into the application. An attacker can craft a malicious link or page that, when visited by a site user, executes arbitrary JavaScript in the victim's browser. This can lead to session hijacking, credential theft, or defacement.
What an attacker can do
03Attacker Capabilities
Inject and execute malicious JavaScript in a user's browser to steal session tokens, credentials, or perform actions on their behalf.
Potential impact on your site
04Site Impact
Users visiting crafted links could have their sessions compromised or be redirected to phishing pages, potentially exposing site and user data.
Conditions required to exploit
05Prerequisites
The victim must visit a malicious link or page containing the XSS payload while logged into the site.
Key dates
06Disclosure timeline
July 13, 2026
CVE published
July 13, 2026
Record updated