CVE-2019-25522 XooGallery Lastest Latest Multiple SQL Injections via photo.php
Unauthenticated attackers can inject SQL via photo.php to extract or modify database contents in XooGallery.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2019-25522?
CVE-2019-25522 is a high-severity SQL injection vulnerability in Xooscripts XooGallery, published on 12 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
XooGallery Latest contains multiple SQL injection vulnerabilities that allow unauthenticated attackers to manipulate database queries by injecting SQL code through the photo_id parameter. Attackers can send GET requests to photo.php with malicious photo_id values to extract sensitive data, bypass authentication, or modify database contents.
Weakness: CWE-89
Which versions are affected by CVE-2019-25522?
It affects 1 product.
Products include Xooscripts Xoogallery.
How do I fix CVE-2019-25522?
No fix has been published for CVE-2019-25522 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2019-25522 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2019-25522 exists.
Other vulnerabilities in Xooscripts XooGallery
Sources
Also known as GHSA-965p-mpmm-22r4.