{"id":"CVE-2026-109977","kind":"vulnerability","aliases":["CVE-2026-109977"],"related":[],"title":"YaySMTP WordPress plugin: admin search parameter allows time-based SQL injection","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.","summary":"The YaySMTP WP Mail SMTP plugin for WordPress does not escape the params[searchKey] parameter before using it in a SQL query, in all versions up to and including 2.7.8. An authenticated administrator can append SQL queries and extract sensitive data from the site database.","severity":"medium","cvss":4.9,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["package","wordpress","wordpress-plugin","yaysmtp"],"not_affected_if":["admin-accounts-trusted","plugin-not-installed"],"how_to_check":"- Check the installed YaySMTP plugin version in the WordPress admin Plugins page; versions up to and including `2.7.8` are described as affected.\n- Confirm whether the plugin is active on the site.","fix":"- YaySMTP: unknown (the sources do not state a fixed version).","status":"open","published_at":"2026-11-06T10:16:34+00:00","first_seen_at":"2026-11-06T10:40:56+00:00","triaged_at":"2026-11-06T10:41:25+00:00","updated_at":"2026-11-06T10:41:25+00:00","category":"package","confidence":0.7,"triage":{"at":"2026-11-06T10:41:25Z","model":"claude-haiku-5-5","output":{"fix":"- YaySMTP: unknown (the sources do not state a fixed version).","reach":"network","title":"YaySMTP WordPress plugin: admin search parameter allows time-based SQL injection","impact":"medium","summary":"The YaySMTP WP Mail SMTP plugin for WordPress does not escape the params[searchKey] parameter before using it in a SQL query, in all versions up to and including 2.7.8. An authenticated administrator can append SQL queries and extract sensitive data from the site database.","audience":"businesses","category":"package","nicknames":[],"who_cares":["wordpress","wordpress-plugin","yaysmtp"],"confidence":0.7,"fix_status":"unknown","needs_auth":"yes","worst_case":"Database contents readable by an administrator-level attacker via SQL injection","analyst_note":"Find a fixed version of YaySMTP after 2.7.8 in the vendor changelog or WordPress.org plugin page; the NVD entry gives no fix.","how_to_check":"- Check the installed YaySMTP plugin version in the WordPress admin Plugins page; versions up to and including `2.7.8` are described as affected.\n- Confirm whether the plugin is active on the site.","plain_action":"","needs_analyst":true,"not_affected_if":["plugin-not-installed","admin-accounts-trusted"],"who_is_affected":"Sites running the YaySMTP plugin for WordPress up to and including 2.7.8. Exploitation requires an account with administrator-level access or above, so the risk sits with who holds admin rights on the site. Sites without this plugin are not affected.","user_interaction":"no","needs_special_setup":"unknown","severity_if_unknown":"medium"},"cost_usd":0.000729,"input_tokens":4324,"output_tokens":594,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-109977':15A,18A '-2026':14A,17A '2.7.8':54B,103C 'access':134C 'addit':139C 'admin':4A 'administr':57B,132C 'administrator-level':131C 'allow':7A 'alreadi':143C 'append':59B,138C 'attack':129C 'authent':56B,128C 'base':10A,88C 'cve':13A,16A 'data':65B 'databas':69B,156C 'due':104C 'email':76C 'escap':35B,107C 'exist':120C,144C 'extract':63B,151C 'includ':53B,102C 'inform':153C 'inject':12A,90C 'insuffici':106C 'lack':114C 'level':133C 'log':77C 'mail':28B,73C 'make':124C 'packag':19B 'param':37B,93C 'paramet':6A,39B,95C,112C 'plugin':3A,23B,30B,80C 'possibl':126C 'prepar':117C 'queri':46B,61B,122C,141C,145C 'report':79C 'search':5A 'searchkey':38B,94C 'sensit':64B,152C 'site':68B 'smtp':29B,74C 'sql':11A,45B,60B,89C,121C,140C 'suffici':116C 'suppli':111C 'time':9A,87C 'time-bas':8A,86C 'track':78C 'use':41B,149C 'user':110C 'version':49B,98C 'via':91C 'vulner':84C 'wordpress':2A,20B,22B,32B,82C 'wordpress-plugin':21B 'wp':27B,72C 'yaysmtp':1A,24B,26B,71C","nicknames":[],"mitigations":[],"who_affected":"Sites running the YaySMTP plugin for WordPress up to and including 2.7.8. Exploitation requires an account with administrator-level access or above, so the risk sits with who holds admin rights on the site. Sites without this plugin are not affected.","tier":"C","verified":{},"analyst_revisit_at":null,"fix_status":"unknown","audience":"businesses","plain_action":null,"pkeys":[],"ptokens":[],"labels":["medium","package","wordpress","wordpressplugin","yaysmtp"],"campaign_type":null,"search_a":"'-109977':15A,18A '-2026':14A,17A 'admin':4A 'allow':7A 'base':10A 'cve':13A,16A 'inject':12A 'paramet':6A 'plugin':3A 'search':5A 'sql':11A 'time':9A 'time-bas':8A 'wordpress':2A 'yaysmtp':1A","search_b":"'2.7.8':54B 'administr':57B 'append':59B 'authent':56B 'data':65B 'databas':69B 'escap':35B 'extract':63B 'includ':53B 'mail':28B 'packag':19B 'param':37B 'paramet':39B 'plugin':23B,30B 'queri':46B,61B 'searchkey':38B 'sensit':64B 'site':68B 'smtp':29B 'sql':45B,60B 'use':41B 'version':49B 'wordpress':20B,22B,32B 'wordpress-plugin':21B 'wp':27B 'yaysmtp':24B,26B","search_c":"'2.7.8':103C 'access':134C 'addit':139C 'administr':132C 'administrator-level':131C 'alreadi':143C 'append':138C 'attack':129C 'authent':128C 'base':88C 'databas':156C 'due':104C 'email':76C 'escap':107C 'exist':120C,144C 'extract':151C 'includ':102C 'inform':153C 'inject':90C 'insuffici':106C 'lack':114C 'level':133C 'log':77C 'mail':73C 'make':124C 'param':93C 'paramet':95C,112C 'plugin':80C 'possibl':126C 'prepar':117C 'queri':122C,141C,145C 'report':79C 'searchkey':94C 'sensit':152C 'smtp':74C 'sql':89C,121C,140C 'suffici':116C 'suppli':111C 'time':87C 'time-bas':86C 'track':78C 'use':149C 'user':110C 'version':98C 'via':91C 'vulner':84C 'wordpress':82C 'wp':72C 'yaysmtp':71C","first_public_at":"2026-11-06T10:16:34+00:00","kev":null,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","cvss_by":"security@wordfence.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-109977","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-109977","severity":null,"published_at":"2026-11-06T10:16:34+00:00","modified_at":"2026-11-06T10:16:35+00:00","first_seen_at":"2026-11-06T10:40:56+00:00","fetched_at":"2026-11-06T10:40:56+00:00","note":null}],"documents":[],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}