CVE-2025-22785 WordPress Course Booking System plugin <= 6.0.6 - SQL Injection vulnerability
An attacker can execute arbitrary SQL commands via the Course Booking System plugin, potentially reading or modifying database contents.
- 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-22785?
CVE-2025-22785 is a critical SQL injection vulnerability in ComMotion Course Booking System, published on 15 Jan 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in ComMotion Course Booking System course-booking-system allows SQL Injection.This issue affects Course Booking System: from n/a through <= 6.0.6.
Weakness: CWE-89
Which versions are affected by CVE-2025-22785?
How do I fix CVE-2025-22785?
No fix has been published for CVE-2025-22785 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-22785 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-22785 exists.
Public exploit code: 1 Nuclei template and 1 proofs of concept on GitHub.
Sources
Also known as GHSA-9mgw-3v2h-j5xq.