CVE-2025-22954 SQL injection in Koha
SQL injection in Koha's serials module allows attackers to manipulate database queries via supplier or serial IDs, risking data exposure or modification.
- 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-2025-22954?
CVE-2025-22954 is a critical SQL injection vulnerability in Koha, published on 12 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
GetLateOrMissingIssues in C4/Serials.pm in Koha before 24.11.02 allows SQL Injection in /serials/lateissues-export.pl via the supplierid or serialid parameter.
Weakness: CWE-89
Which versions are affected by CVE-2025-22954?
How do I fix CVE-2025-22954?
No fix has been published for CVE-2025-22954 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-2025-22954 being exploited?
There is no known exploitation of CVE-2025-22954 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Sources
Also known as GHSA-3f7x-54cr-7w35.