CVE-2018-25204 Library CMS 1.0 SQL Injection via admin login
Unauthenticated attackers can bypass admin login and access the database via SQL injection in the username field of Library CMS.
- 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-25204?
CVE-2018-25204 is a high-severity SQL injection vulnerability in Wecodex Library CMS, published on 26 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Library CMS 1.0 contains an SQL injection vulnerability that allows unauthenticated attackers to bypass authentication by injecting SQL code through the username parameter. Attackers can send POST requests to the admin login endpoint with boolean-based blind SQL injection payloads in the username field to manipulate database queries and gain unauthorized access.
Weakness: CWE-89
Which versions are affected by CVE-2018-25204?
It affects 1 product.
Products include Wecodex Library Cms.
How do I fix CVE-2018-25204?
No fix has been published for CVE-2018-25204 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-25204 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-25204 exists.
Sources
Also known as GHSA-68mg-9jq3-6jrc.