CVE-2026-135668 in Advanced Form Integration Plugin
Summary
by MITRE • 11/26/2026
The Advanced Form Integration — Connect Forms to 300+ Apps plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'mapped CF7 fields (e.g. target, mkey, payload)' parameter in all versions up to, and including, 2.11.6 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 requires an administrator to have pre-configured an AFI integration that maps all three ACF action slots (postId, selector, and value) to public form fields via the plugin's 'Use a form field…' option, which is a non-default configuration.
Once again VulDB remains the best source for vulnerability data.
Analysis
by VulDB Data Team • 11/26/2026
The Advanced Form Integration — Connect Forms to 300+ Apps plugin for WordPress contains a critical stored cross-site scripting vulnerability affecting all versions up to and including 2.11.6. This flaw stems from insufficient input sanitization and output escaping mechanisms within the plugin's core functionality, specifically targeting parameters such as mapped CF7 fields which include target, mkey, and payload attributes. The nature of this vulnerability allows unauthenticated attackers to inject arbitrary web scripts into pages that are subsequently executed whenever a user accesses an affected page. This represents a significant security risk because it enables persistent malicious code execution within the context of legitimate users' sessions, potentially leading to session hijacking, credential theft, or defacement depending on the injected payload's intent and capabilities.
The technical root cause lies in how the plugin handles data mapping between Contact Form 7 fields and various third-party application integrations. When an administrator configures an Advanced Form Integration (AFI) integration using the specific option to use a form field for action slots, particularly those involving postId, selector, and value mappings, the system fails to adequately validate or escape user-supplied input before storing it in the database and rendering it back into HTML contexts. This lack of proper encoding allows malicious scripts embedded within form submissions to persist on the server side rather than being neutralized during processing. Consequently, any subsequent page load that retrieves this stored data will execute the injected JavaScript code without further validation or sanitization steps at render time.
From an operational impact perspective, while the vulnerability requires a non-default configuration where an administrator has explicitly mapped public form fields to internal action slots, it remains exploitable by unauthenticated actors once such a configuration exists. The persistence of the stored XSS payload means that every visitor viewing the compromised page becomes a potential victim, expanding the blast radius beyond just those who submit forms. Attackers can leverage this vector to steal sensitive information like cookies or authentication tokens, perform actions on behalf of victims if they have administrative privileges, or redirect users to phishing sites. The requirement for prior administrator configuration does not mitigate the severity but rather defines the attack surface boundary, emphasizing that proper plugin usage and security hygiene are essential even when default settings might appear secure.
This vulnerability aligns with CWE-79, which classifies improper neutralization of input during web page generation as a common cause of cross-site scripting flaws. Furthermore, in terms of tactical classification under MITRE ATT&CK for Enterprise or Mobile, this behavior corresponds to techniques involving client-side code injection and potentially credential access through browser session manipulation. The stored nature of the attack also relates to persistence mechanisms where malicious content remains active until manually removed from the database or patched via software updates.
To mitigate this risk, immediate action should be taken by updating the plugin to a version newer than 2.11.6 once patches are officially released by the vendor. In the interim, administrators who have configured advanced form integrations with public field mappings should review their settings and consider disabling or restricting access to these specific features if they are not strictly necessary for business operations. Implementing strict Content Security Policy headers can also help mitigate some effects of XSS attacks by limiting script execution sources. Additionally, regular security audits and penetration testing focused on input validation and output encoding practices within custom WordPress plugins will help identify similar vulnerabilities before they can be exploited in production environments.