CVE-2018-25188 Webiness Inventory 2.3 SQL Injection via WsModelGrid.php
Unauthenticated attackers can execute arbitrary SQL queries via the order parameter in WsModelGrid.php to extract sensitive database information.
- 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-2018-25188?
CVE-2018-25188 is a high-severity SQL injection vulnerability in Github Webiness Inventory, published on 6 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Webiness Inventory 2.3 contains an SQL injection vulnerability that allows unauthenticated attackers to execute arbitrary SQL queries by injecting malicious code through the order parameter. Attackers can send POST requests to the WsModelGrid.php endpoint with crafted SQL payloads to extract sensitive database information including usernames, databases, and version details.
Weakness: CWE-89
Which versions are affected by CVE-2018-25188?
How do I fix CVE-2018-25188?
No fix has been published for CVE-2018-25188 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-2018-25188 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-25188 exists.
Sources
Also known as GHSA-q4c5-4f6p-wxfj.