CVE-2025-31397 WordPress Bus Ticket Booking with Seat Reservation for WooCommerce plugin <= 1.7 - SQL Injection vulnerability
Attackers can execute arbitrary SQL commands via the Bus Ticket Booking 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-31397?
CVE-2025-31397 is a critical SQL injection vulnerability in smartcms Bus Ticket Booking with Seat Reservation for WooCommerce, published on 23 May 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 smartcms Bus Ticket Booking with Seat Reservation for WooCommerce scw-bus-seat-reservation allows SQL Injection.This issue affects Bus Ticket Booking with Seat Reservation for WooCommerce: from n/a through <= 1.7.
Weakness: CWE-89
Which versions are affected by CVE-2025-31397?
How do I fix CVE-2025-31397?
No fix has been published for CVE-2025-31397 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-31397 being exploited?
There is no known exploitation of CVE-2025-31397 in the wild and no public exploit code.
Sources
Also known as GHSA-9g7r-jg3m-m6wm.