Description
The YaySMTP – WP Mail SMTP with Email Logs, Tracking & Reports plugin for WordPress is vulnerable to time-based SQL Injection via the 'params[searchKey]' parameter in all versions up to, and including, 2.7.8 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 administrator-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
Published: 2026-11-06
Score: 4.9 Medium
EPSS: n/a
KEV: No
Impact: Authenticated SQL Injection
Action: Patch
AI Analysis

Impact

The vulnerability allows an attacker with administrator or higher WordPress credentials to inject additional SQL statements through the params[searchKey] parameter. By crafting a payload, the attacker can cause a time-based SQL injection that retrieves sensitive data from the database. The weakness stems from insufficient escaping and the use of unprepared statements, which enables arbitrary query execution without authentication beyond administrative access.

Affected Systems

This issue exists in the YaySMTP – WP Mail SMTP with Email Logs, Tracking & Reports plugin for WordPress versions up to and including 2.7.8. Users who have installed or are running these plugin releases are affected.

Risk and Exploitability

The CVSS score of 4.9 places the vulnerability in the medium severity range. No EPSS score is available and the vulnerability is not listed in the CISA KEV catalog, yet the requirement for administrator-level authentication limits the attacker pool. The likely attack vector is a web request to the plugin’s import settings endpoint where the params[searchKey] parameter is passed. Given the need for authenticated access, an exploit would typically arise from compromised credentials or insider threats. Overall, the risk is moderate, but any environment that relies on this plugin should prioritize remediation.

Generated by OpenCVE AI on November 6, 2026 at 10:21 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the YaySMTP plugin to the latest released version (any version newer than 2.7.8 includes the fix for the SQL injection vulnerability.
  • If an upgrade is not immediately feasible, restrict the WordPress account used for Import Settings to read‑only or no access, effectively preventing the use of the vulnerable parameter.
  • Patch the source by ensuring that the params[searchKey] value is passed through a prepared statement or is properly escaped before inclusion in any SQL query.
  • Review the database permissions granted to the WordPress database user and tighten them to the minimal set required for plugin functionality.
  • Deploy a web application firewall configured to block or rate‑limit suspicious SQL‑injection patterns on the plugin’s endpoint.

Generated by OpenCVE AI on November 6, 2026 at 10:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 06 Nov 2026 09:45:00 +0000

Type Values Removed Values Added
Description The YaySMTP – WP Mail SMTP with Email Logs, Tracking & Reports plugin for WordPress is vulnerable to time-based SQL Injection via the 'params[searchKey]' parameter in all versions up to, and including, 2.7.8 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 administrator-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 YaySMTP <= 2.7.8 - Authenticated (Administrator+) SQL Injection via 'params[searchKey]' Parameter
Weaknesses CWE-89
References
Metrics cvssV3_1

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


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-11-06T09:38:14.218Z

Reserved: 2026-10-13T11:56:10.338Z

Link: CVE-2026-109977

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-11-06T10:16:34.457

Modified: 2026-11-06T10:16:35.717

Link: CVE-2026-109977

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-06T10:30:18Z

Weaknesses
  • CWE-89

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