Stored XSS Vulnerability in FormGent WordPress Plugin
An unauthenticated stored cross-site scripting vulnerability in FormGent versions 1.9.2 and below allows attackers to inject malicious scripts into form fields that execute upon viewing.
The FormGent AI Form Builder plugin for WordPress (versions 1.9.2 and below) contains a critical stored cross-site scripting (XSS) vulnerability. The flaw exists due to insufficient sanitization of user-supplied data within form submission fields. Because the plugin fails to properly escape input before rendering it on administrative or public-facing pages, an unauthenticated attacker can submit malicious JavaScript payloads through the plugin's forms. Once submitted, these scripts are stored in the WordPress database and automatically execute in the browser context of any user, including administrators, who subsequently accesses the page where the form entries are displayed. This vulnerability poses a significant risk for account takeover, session theft, and unauthorized actions within the WordPress environment.
Impact
Successful exploitation of this vulnerability allows unauthenticated attackers to perform actions on behalf of privileged users, including administrators. This can lead to full site compromise, unauthorized administrative actions, redirection of users to malicious domains, or the theft of sensitive session cookies. Organizations utilizing this plugin for public-facing forms are at high risk of exploitation from external threats.
Recommendation
Prioritized actions for security teams:
- Update the FormGent plugin to the latest version (v1.9.3 or higher) immediately to ensure proper input sanitization is applied.
- Review WordPress administrative logs for suspicious modifications performed by non-administrator accounts.
- Deploy the WAF rule below to detect and block malicious script injection attempts targeting the plugin's submission endpoint.
Immediate actions
Update FormGent plugin to the latest version to address CVE-2025-15028
Mitigations
Enable WAF rules to sanitize or block input containing HTML tags for form-submitting endpoints
CVE-2025-15028
Detection coverage 1
Detects CVE-2025-15028 Exploitation - Stored XSS Attempt
highDetects attempts to inject script tags through HTTP POST requests typically associated with form submissions in WordPress plugins.
Detection queries are available on the platform. Get full rules →