teachPress <= 9.0.7 - Authenticated (Contributor+) SQL Injection

6.5
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVE CVE-2025-1321
CVSS 6.5 (Medium)
Publicly Published March 3, 2025
Last Updated March 4, 2025
Researcher Krzysztof Zając - CERT PL

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.

Learn more about SQL Injection vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for teachPress

Software Type Plugin
Software Slug teachpress (view on wordpress.org)
Patched? Yes
Remediation Update to version 9.0.8, or a newer patched version
Affected Version
  • <= 9.0.7
Patched Version
  • 9.0.8

Recent vulnerabilities in teachPress

# Title CVE ID CVSS Researchers Date
1 teachPress <= 9.0.12 - Cross-Site Request Forgery CVE-2026-22483 4.3 Nabil Irawan January 6, 2026
2 teachPress <= 9.0.12 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2026-22353 6.4 Muhammad Yudha - DJ December 30, 2025
3 teachPress <= 9.0.11 - Authenticated (Contributor+) SQL Injection CVE-2025-32149 6.5 Trương Hữu Phúc (truonghuuphuc) April 4, 2025
4 teachPress <= 9.0.9 - Cross-Site Request Forgery to Import Delete CVE-2025-1320 4.3 Krzysztof Zając March 24, 2025
5 teachPress <= 9.0.5 - Cross-Site Request Forgery via delete_database() CVE-2023-49163 4.3 LVT-tholv2k November 28, 2023
6 teachPress <= 9.0.4 - Cross-Site Request Forgery CVE-2023-48755 5.3 LVT-tholv2k November 27, 2023
7 teachPress <= 9.0.2 - Reflected Cross-Site Scripting via meta_field_id and cite_id CVE-2023-36501 6.1 Le Ngoc Anh June 22, 2023
8 teachPress <= 8.1.8 - Unauthenticated Stored Cross-Site Scripting CVE-2023-22704 7.2 Nguyen Xuan Chien January 17, 2023

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation