What the vulnerability does
01Description
The Image Gallery plugin for WordPress is vulnerable to Reflected Cross-Site Scripting in all versions up to, and including, 1.0.0 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Explanation of Vulnerability in Simple Terms
02Summary
Image Gallery versions 1.0.0 and earlier contain a cross-site scripting (XSS) vulnerability that allows attackers to inject malicious scripts into gallery content. When a victim visits a page containing the injected script, the attacker can steal session cookies, redirect users, or perform actions on their behalf. The vulnerability affects the scope beyond the component itself.
What an attacker can do
03Attacker Capabilities
Inject malicious scripts that execute in visitors' browsers and steal session data or perform unauthorized actions.
Potential impact on your site
04Site Impact
Visitors' accounts and data are at risk if they view gallery content containing injected malicious code.
Conditions required to exploit
05Prerequisites
Victim must visit a page containing the attacker's injected script; no authentication required.
Key dates
06Disclosure timeline
August 2, 2025
CVE published
April 8, 2026
Record updated