AutomatorWP can store malicious scripts in log entries that run in users' browsers
What this means
An attacker can inject scripts into automation log entries through Contact Form 7 fields. When site administrators or users view those logs, the malicious script runs in their browser, allowing the attacker to steal session tokens, change site settings, or take over accounts.
SecurityElites Manager Brief: the decision in one minute
AutomatorWP can store malicious scripts in log entries that run in users' browsers, allowing attackers to steal accounts or change site settings. No fixed version exists yet, so you must immediately disable or reconfigure automations that mix Contact Form 7 fields with log titles.
| SecurityElites Fix-First Score | 40 of 100 Our own ranking of what to fix first. Real attacks count most, then the chance of attack, then severity. |
|---|---|
| SecurityElites fix window | Within 30 days High severity. This is our suggestion from common practice; your own policy comes first. |
| Who should own the fix | WordPress site administrator or platform security team. |
| Likely effort | About 1 to 2 hours: apply the workaround by disabling or reconfiguring affected automations, then monitor for a patch. Applying a future fix will require a version update and restart. |
Questions to ask your team or supplier
- Are any of our AutomatorWP automations configured to reference Contact Form 7 fields in log titles, and if so, which ones and when were they created?
- Do we have logs, backups, or audit trails showing whether anyone has viewed or interacted with these logs in the past week, and have we seen any unusual administrator activity?
- What is our plan to apply a security update once AutomatorWP releases a fixed version, and do we have a process to test the update before deploying it to production?
Message you can forward to the owning team
Security notice: AutomatorWP can store malicious scripts in log entries that run in users' browsers (CVE-2026-137138)
Severity: High (7.2 of 10)
SecurityElites Fix-First Score: 40 of 100
SecurityElites fix window: Within 30 days
Action: no fixed version is listed yet; apply the risk-reduction steps and watch the vendor advisory.
What we need from you: confirm whether we run this software, who owns it, and the date it will be fixed.
Full guide: https://securityelites.com/ai-vulnerabilities/cve-2026-137138-automatorwp-can-store-malicious-scripts-in-log-entries-that/
Source: SecurityElites AI Vulnerabilities Database, record SE-AIV-02073What is at stake in your AI setup
- If AutomatorWP is connected to AI tools or APIs, session tokens or API keys used by those integrations could be stolen via the injected script.
- Automation configurations and integration settings could be modified or deleted by an attacker who gains control through the script injection.
- Chat history or prompts stored in logs or related data could be exposed if the attacker accesses the site's database through elevated privileges gained via the attack.
Who is exposed
- Sites running AutomatorWP version 6.1.3 or earlier that use Contact Form 7 with 'Add log entry' automations, highest risk.
- Administrators who view automation logs, since scripts execute in their browsers.
- Any user account that accesses pages showing those logs.
Upgrades you need
| Software | Affected versions | Move to |
|---|---|---|
| rubengc AutomatorWP – No-Code Workflow Automation, Integration & Webhooks Plugin, now with AI | Every version up to and including 6.1.3 | No fixed version recorded. Follow the steps below. |
The fixed version here was taken from the wording of the official description, because the national database has not listed it yet.
Am I affected?
Enter the version you run. Nothing you type is stored.
SecurityElites Developer Brief: the technical picture
| Where the attacker must be | Anywhere that can reach it over a network, including the internet if it is exposed |
|---|---|
| Account needed | None. No login is needed |
| Does a person have to do something | No. It works without anyone clicking or opening anything |
| How hard it is to do | Easy. It works reliably once the attacker can reach it |
| Risk of: data being read | Limited |
| Risk of: data or settings being changed | Limited |
| Risk of: the service being taken down | None |
Read from the official severity rating: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Kind of coding mistake
- CWE-79: script can be injected into a web page
If you cannot upgrade today
- Immediately disable any AutomatorWP automation that uses Contact Form 7 field references in the 'Log Title' field of an 'Add log entry' action.
- Reconfigure affected automations to use only static, plain-text log titles that do not reference any form field tags.
- Restrict access to AutomatorWP logs to only trusted administrators. Limit who can view the logs area of the plugin.
Signs it may already have been used against you
- Review AutomatorWP automation logs for log title entries containing HTML or script-like syntax such as ,
- Check WordPress user admin activity logs for unexpected login attempts, account creation, or permission changes that coincide with when logs were created.
- Search the WordPress database for log entries with unusual characters or markup in fields that should contain only form field values.
- Monitor browser developer console errors or JavaScript warnings when administrators or users access pages displaying AutomatorWP logs.
SecurityElites Fix Guide: step by step
- Find AutomatorWP installations and versionLog in to the WordPress admin panel. Go to Plugins and search for 'AutomatorWP'. Note the installed version number. If it shows version 6.1.3 or lower, the site is affected.
- Check for risky automation configurationsIn the WordPress admin, navigate to AutomatorWP settings or logs. Look for any automations that have an 'Add log entry' action with a 'Log Title' field that references Contact Form 7 field tags (like {your-name} or {your-email}). These are the configurations that allow injection.
- Review recent log entries for suspicious contentOpen the AutomatorWP logs and look at recent entries. Check whether any log titles contain HTML tags, script tags, or unusual characters that should not be in form field data. If you see tags like ,
- Disable or reconfigure affected automationsFor each automation using Contact Form 7 fields in log titles, either disable the automation or change the 'Log Title' to not include form field references. Use only static text in log titles until a fixed version is available. Document which automations you changed and when.
- Clear existing malicious logs if attack is suspectedIf suspicious content was found in logs, delete those log entries. Check the AutomatorWP database table or admin interface for a way to remove old logs. Keep a backup of the data for investigation before deletion.
- Check administrator accounts for unauthorized changesReview WordPress user accounts and their recent activity. Look for new admin accounts, password changes, or permission changes you did not authorize. Check the WordPress login logs or audit plugin records for logins from unknown IP addresses around the time the injection may have occurred.
- Monitor for and apply the security updateCheck the AutomatorWP plugin page on WordPress.org or the vendor website regularly for a patched version. When a fixed version is released, update AutomatorWP to that version immediately through the WordPress admin panel.
- Verify the site is secureAfter applying any future fix or after reconfiguring automations, test by viewing the automation logs in the WordPress admin. Confirm that log entries display only plain text and no scripts or HTML tags are visible.
How to confirm it is fixed: Confirm that the AutomatorWP plugin version is higher than 6.1.3 (once a fixed version is released), or verify that all vulnerable automations have been reconfigured to use static log titles without Contact Form 7 field references.
SecurityElites Quick Fixes: copy and paste
Check AutomatorWP version via WordPress databasefor this issue
SELECT option_value FROM wp_options WHERE option_name = 'automatorwp_db_version' LIMIT 1;A starting content security policy (nginx)general hardening
add_header Content-Security-Policy "default-src 'self'; object-src 'none'; base-uri 'self'" always;Test in a non-production environment first. General hardening examples use placeholder names and ports; change them to match your setup.
SecurityElites Incident Drill: could your team handle this?
Four questions to ask in your next team meeting. If any has no clear answer, that is the gap to close.
Ticket for your backlog
Paste into Jira, GitHub Issues or any tracker that reads Markdown.
Ready-made ticket
## AutomatorWP can store malicious scripts in log entries that run in users' browsers (CVE-2026-137138)
**Severity:** High 7.2 | **SE Fix-First Score:** 40/100 | **Fix window:** Within 30 days
**Record:** SE-AIV-02073 https://securityelites.com/ai-vulnerabilities/cve-2026-137138-automatorwp-can-store-malicious-scripts-in-log-entries-that/
### Why this matters
An attacker can inject scripts into automation log entries through Contact Form 7 fields. When site administrators or users view those logs, the malicious script runs in their browser, allowing the attacker to steal session tokens, change site settings, or take over accounts.
### What to do
1. Find AutomatorWP installations and version
2. Check for risky automation configurations
3. Review recent log entries for suspicious content
4. Disable or reconfigure affected automations
5. Clear existing malicious logs if attack is suspected
6. Check administrator accounts for unauthorized changes
7. Monitor for and apply the security update
8. Verify the site is secure
Full steps: https://securityelites.com/ai-vulnerabilities/cve-2026-137138-automatorwp-can-store-malicious-scripts-in-log-entries-that/
### Done when
- [ ] The risk-reduction steps are applied and the vendor advisory is being watched for a fixed version
- [ ] Lock files, container images and CI configuration are updated
- [ ] Confirm that the AutomatorWP plugin version is higher than 6.1.3 (once a fixed version is released), or verify that all vulnerable automations have been reconfigured to use static log titles without Contact Form 7 field references.
- [ ] Logs were checked for signs of earlier use
SecurityElites Fix Tracker
Record who owns this fix, the date it is due and when it is done, and see everything still open in one list. Free with a SecurityElites account.
Related vulnerabilities
The same kind of mistake in other AI tools
- n8n can run JavaScript in a user's browser when they open a crafted workflow High · CVE-2026-65592
- n8n HTML preview can run attacker scripts with user permissions High · CVE-2026-65597
- n8n Chat Trigger allows injected JavaScript to run as a logged-in user High · CVE-2026-54302
- n8n webhook node can run JavaScript as an authenticated user High · CVE-2026-54301
- n8n script injection in OAuth notification allows credential theft High · CVE-2026-42235
Change history
- 3 Dec 2026: Made public
- 3 Dec 2026: Fixed version added, from the vendor's own CVE record
- 3 Dec 2026: Fixed version added, from the wording of the official description
- 3 Dec 2026: Published
- 3 Dec 2026: Fixed version added, from the wording of the official description
Official record
The AutomatorWP – No-Code Workflow Automation, Integration & Webhooks Plugin, now with AI plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'your-name (any CF7 form field used in the log_title tag)' parameter in all versions up to, and including, 6.1.3 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This is only exploitable when an administrator has configured an automation whose 'Add log entry' Log Title references a Contact Form 7 form field tag.
Weakness type: CWE-79
- National Vulnerability Database: nvd.nist.gov
- Reference: plugins.trac.wordpress.org
- Reference: plugins.trac.wordpress.org
- Reference: plugins.trac.wordpress.org
- Reference: plugins.trac.wordpress.org
- Reference: plugins.trac.wordpress.org
- Reference: plugins.trac.wordpress.org
- Reference: plugins.trac.wordpress.org
- Reference: www.wordfence.com
Use this record in your own tools
Get this record as JSON
curl https://securityelites.com/wp-json/se-aivd/v1/vulns/CVE-2026-137138For scanners and pipelines: OSV format · CycloneDX format · API guide · Email alerts · Fix tracker
The plain-language sections were written with AI from the official record, and the upgrade versions come directly from the official data. Last updated 3 Dec 2026. Read the vendor advisory before changing a production system.