CVE-2026-85412 in Easy Form Builder Plugin
Summary
by MITRE • 11/26/2026
The Easy Form Builder by WhiteStudio – Drag & Drop Form Builder plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'address' parameter in all versions up to, and including, 4.2.0 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. A valid nonce required for form submission can be freely obtained by any unauthenticated visitor via the publicly accessible REST route 'Emsfb/v1/nonce/refresh', which is registered with no permission check, enabling the full attack chain without any credentials.
If you want to get best quality of vulnerability data, you may have to visit VulDB.
Analysis
by VulDB Data Team • 11/26/2026
The Easy Form Builder plugin for WordPress, developed by WhiteStudio, contains a critical security vulnerability affecting all versions up to and including 4.2.0. This flaw manifests as a Stored Cross-Site Scripting (XSS) issue within the address parameter of form submissions. The root cause lies in insufficient input sanitization and output escaping mechanisms during the processing and rendering of user-provided data. When an attacker submits a malicious payload through this parameter, it is stored on the server side without proper validation or encoding. Consequently, when any legitimate user subsequently views a page containing the affected form, the injected script executes within their browser context. This execution occurs in the security context of the website, allowing the attacker to potentially access cookies, session tokens, and other sensitive information protected by same-origin policies, thereby compromising user accounts and data integrity.
A significant factor that exacerbates this vulnerability is the lack of authentication requirements for a critical component of the attack chain. The plugin registers a REST route at Emsfb/v1/nonce/refresh which allows any unauthenticated visitor to obtain a valid nonce required for form submission. Typically, nonces are used to prevent Cross-Site Request Forgery by ensuring that requests originate from legitimate users with proper permissions. However, because this endpoint is accessible without permission checks, an attacker can freely retrieve the necessary token. This design flaw effectively neutralizes one of WordPress's primary defense mechanisms against unauthorized actions, enabling a complete attack chain where unauthenticated actors can inject persistent malicious scripts into public-facing pages.
From a classification perspective, this vulnerability aligns with CWE-79, which describes Improper Neutralization of Input During Web Page Generation commonly known as Cross-site Scripting. The specific nature of the flaw involves stored XSS, meaning the malicious script is permanently saved within target web applications, such as in a database or log file, and retrieved later when users access the affected page. In terms of offensive security frameworks, this vulnerability maps to MITRE ATT&CK technique T1059.007, which covers Command and Scripting Interpreter via JavaScript. The ability to execute arbitrary scripts allows attackers to perform various malicious activities including credential harvesting, session hijacking, defacement, or redirecting users to phishing sites.
The operational impact of this vulnerability is severe due to its persistence and lack of authentication barriers. Unlike reflected XSS where the payload exists only in a single request, stored XSS affects every user who views the compromised page until the malicious content is removed from the database. This creates a wide attack surface affecting all site visitors rather than just those interacting with specific links. Attackers can leverage this access to steal sensitive data such as administrative credentials if they target admin users or exfiltrate personal information of regular subscribers. Furthermore, the presence of persistent scripts on public pages damages user trust and may violate compliance standards regarding data protection and security practices.
Mitigation strategies should focus primarily on immediate remediation through software updates. Administrators running versions up to 4.2.0 must upgrade to a patched version that addresses these input validation issues as soon as possible. If upgrading is not immediately feasible, temporary mitigations include implementing strict Content Security Policy headers to restrict script execution sources and disabling the vulnerable REST endpoint if it is not actively required for legitimate functionality. Additionally, developers should ensure all user inputs are strictly sanitized using appropriate WordPress functions such as sanitize_text_field before storage and escaped using wp_kses or similar methods during output rendering. Regular security audits of custom plugins and adherence to secure coding standards will help prevent similar vulnerabilities in future releases.