SQL Injection Vulnerability in TeachPress Plugin for WordPress
CVE-2025-1321
8.8HIGH
What is CVE-2025-1321?
The TeachPress plugin for WordPress is susceptible to an SQL injection vulnerability via the 'order' parameter in the 'tpsearch' shortcode. This flaw arises from inadequate escaping of user-supplied input and a lack of proper preparation in the corresponding SQL query. Consequently, authenticated attackers with Contributor-level access or higher can manipulate existing SQL queries, allowing them to execute additional queries that may extract sensitive data from the database.
Affected Version(s)
teachPress * <= 9.0.7