SQL Injection in Koha GetLateOrMissingIssues /serials/lateissues-export.pl
CVE-2025-22954 is a SQL injection vulnerability in Koha before version 24.11.02. The issue is in the GetLateOrMissingIssues functionality in C4/Serials.pm and is reachable via /serials/lateissues-export.pl. Unsanitized or improperly validated input supplied through the supplierid or serialid parameter can be incorporated into SQL queries, allowing attacker-controlled SQL to be executed against the backend database.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can allow an attacker to manipulate backend SQL queries. Depending on the database account privileges used by the Koha application and the reachable query context, this may enable unauthorized access to serials-related data, extraction or modification of database contents, and potentially broader compromise of application integrity. At minimum, it can result in disclosure or tampering of data associated with the affected functionality.
If you can’t patch tonight, do this now.
If immediate upgrade is not possible, restrict access to /serials/lateissues-export.pl to trusted users and networks only, and apply strong authentication and authorization controls around serials-related administrative functions. Deploy WAF or reverse-proxy filtering to detect and block SQL metacharacters and anomalous input in supplierid and serialid parameters, while recognizing this is not a complete fix. Increase logging and monitoring for suspicious requests targeting the affected endpoint and database error patterns.
Patch, then assume compromise.
Upgrade Koha to version 24.11.02 or later, which contains the fix for this vulnerability. Review the patch for GetLateOrMissingIssues in C4/Serials.pm and ensure all SQL construction involving supplierid and serialid uses parameterized queries or equivalent safe database APIs. Validate that the vulnerable /serials/lateissues-export.pl path is no longer susceptible after upgrade.
No validated public exploits yet. Hidden: 1 rejected by Mallory's analysis as not a working exploit.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
2 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.
No news coverage yet. Advisories and community discussion only.