CVE-2025-1321
Published: 04 March 2025
Summary
CVE-2025-1321 is a medium-severity SQL Injection (CWE-89) vulnerability in Mtrv Teachpress. Its CVSS base score is 6.5 (Medium).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 21.0th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.
The strongest mitigations our analysis identified are NIST 800-53 SI-10 (Information Input Validation) and SI-2 (Flaw Remediation).
Deeper analysis
CVE-2025-1321, published on 2025-03-04, is an SQL injection vulnerability in the teachPress plugin for WordPress, affecting all versions up to and including 9.0.7. The flaw arises from insufficient escaping of the user-supplied 'order' parameter in the 'tpsearch' shortcode, combined with a lack of sufficient preparation in the existing SQL query. It carries a CVSS v3.1 base score of 6.5 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N) and maps to CWE-89.
Authenticated attackers with Contributor-level access or higher can exploit this vulnerability remotely with low complexity and no user interaction required. By injecting malicious payloads into the 'order' parameter, they can append additional SQL queries to existing ones, enabling the extraction of sensitive information from the database.
Mitigation guidance is provided in advisories from Wordfence at https://www.wordfence.com/threat-intel/vulnerabilities/id/cb453fe3-ba89-437c-b3fb-9ec207eaa9f0?source=cve and the teachPress plugin's changeset 3246754 in the WordPress trac repository at https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3246754%40teachpress&new=3246754%40teachpress&sfp_email=&sfph_mail=#file6.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2025-7389
Vulnerability details
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…
more
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.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
SQL injection vulnerability in public-facing WordPress plugin directly enables remote exploitation of the application (T1190) and facilitates extraction of sensitive data from the database (T1213.006).
CVEs Like This One
Affected Assets
Mitigating Controls
Mitigating Controls (NIST 800-53 r5) AI
Directly mitigates the SQL injection flaw by requiring timely remediation through patching the vulnerable teachPress plugin versions up to 9.0.7.
Requires validation and sanitization of user-supplied parameters like 'order' in the tpsearch shortcode to prevent SQL query manipulation and injection.
Enables scanning and monitoring to identify SQL injection vulnerabilities in WordPress plugins like teachPress, facilitating proactive flaw detection.