CVE-2025-8400 Image Gallery <= 1.0.0 - Reflected Cross-Site Scripting
Unauthenticated attackers can inject arbitrary web scripts via reflected XSS in the Image Gallery WordPress plugin, affecting all users who access injected pages.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-8400?
CVE-2025-8400 is a medium-severity cross-site scripting vulnerability in aumsrini Image Gallery, published on 2 Aug 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
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.
Weakness: CWE-79
Which versions are affected by CVE-2025-8400?
How do I fix CVE-2025-8400?
No fix has been published for CVE-2025-8400 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2025-8400 being exploited?
There is no known exploitation of CVE-2025-8400 in the wild and no public exploit code.
Sources
Also known as GHSA-wqwr-pr9c-fc8f.