CVE-2025-7826

Testimonial <= 2.3 - Authenticated (Contributor+) SQL Injection

Published Sep 10, 2025 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
The Testimonial plugin for WordPress is vulnerable to SQL Injection via the 'iNICtestimonial' shortcode in all versions up to, and including, 2.3 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.

Analysis

AI-generated

Technical impact

The Testimonial plugin for WordPress contains a SQL injection vulnerability in the iNICtestimonial shortcode. The lack of proper escaping and prepared statements allows an authenticated user with Contributor-level access or higher to inject arbitrary SQL statements. The injected code could read sensitive data stored in the database, such as user credentials, personal information, or other confidential content. This vulnerability is classified as CWE-89.

Affected Systems

The vulnerability affects the Testimonial plugin version 2.3 and all earlier releases. These versions are distributed on the WordPress plugin repository and also consumed by users of WordPress sites that have installed the plugin. Any site running an affected version of Testimonial is at risk. The plugin is identified by the vendor "laki_patel" under the product name "Testimonial".

Risk and Exploitability

The CVSS score is 6.5, indicating a moderate severity. The EPSS score is less than 1%, suggesting that exploitation is currently unlikely but still possible, especially in targeted attacks. The vulnerability is not listed in the CISA KEV catalog. The attack requires authenticated access, so a malicious contributor or higher role that has the ability to insert content can exploit the flaw by crafting a malicious value for the shortcode parameter. Once exploited, an attacker could read data from the database by appending additional SELECT statements.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Testimonial plugin to version 2.4 or newer, or any release that addresses the injected input handling issue.
  • If an upgrade is not immediately possible, remove or disable the iNICtestimonial shortcode from frontend pages until a patch is applied.
  • Restrict Contributor+ roles from using the shortcode by modifying role capabilities or applying a content filtering rule that blocks the iNICtestimonial parameter from being processed.

Generated by OpenCVE AI on April 21, 2026 at 03:08 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Wordpress
Wordpress wordpress
Vendors & Products Wordpress
Wordpress wordpress
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description The Testimonial plugin for WordPress is vulnerable to SQL Injection via the 'iNICtestimonial' shortcode in all versions up to, and including, 2.3 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.
Title Testimonial <= 2.3 - Authenticated (Contributor+) SQL Injection
Weaknesses CWE-89
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 8, 2026, 5:04 PM
Reserved
Jul 18, 2025, 6:49 PM
Status
Deferred
Published
Sep 10, 2025, 7:15 AM
Modified
Jun 17, 2026, 10:05 AM