CVE-2025-1321 teachPress <= 9.0.7 - Authenticated (Contributor+) SQL Injection
Authenticated attackers with Contributor access can exploit SQL injection in the teachPress plugin to extract sensitive database information.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-1321?
CVE-2025-1321 is a medium-severity SQL injection vulnerability in winkm89 teachPress, published on 4 Mar 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The teachPress plugin for WordPress is vulnerable to SQL Injection via the 'order' parameter of the 'tpsearch' shortcode in all versions up to, and including, 9.0.7 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with Contributor-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
Weakness: CWE-89
Which versions are affected by CVE-2025-1321?
It affects 1 product.
Products include Mtrv Teachpress.
How do I fix CVE-2025-1321?
No fix has been published for CVE-2025-1321 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-1321 being exploited?
There is no known exploitation of CVE-2025-1321 in the wild and no public exploit code.
Other vulnerabilities in winkm89 teachPress
- CVE-2025-32149 WordPress teachPress plugin <= 9.0.11 - SQL Injection vulnerability
- CVE-2023-36501 WordPress teachPress Plugin <= 9.0.2 is vulnerable to Cross Site Scripting (XSS)
- CVE-2023-22704 WordPress teachPress Plugin <= 8.1.8 is vulnerable to Cross Site Scripting (XSS)
- CVE-2023-52129 WordPress teachPress Plugin <= 9.0.4 is vulnerable to Cross Site Request Forgery (CSRF)
- CVE-2023-49163 WordPress teachPress Plugin <= 9.0.5 is vulnerable to Cross Site Request Forgery (CSRF)
Sources
Also known as GHSA-mjgh-x4w3-mfx5.