CVE-2026-118500

Cool FormKit Lite <= 2.7.9 - Authenticated (Contributor+) Stored DOM-Based Cross-Site Scripting via Form Field custom_id Parameter

Published Oct 30, 2026 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
Description
The Cool FormKit Lite – Advanced Form Builder for Elementor plugin for WordPress is vulnerable to Stored DOM-Based Cross-Site Scripting via the '_elementor_data.form_fields[].custom_id' parameter in all versions up to, and including, 2.7.9 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The esc_html() call applied at server emission is bypassed because the HTML fragment-serialization algorithm restores &quot; to a raw double-quote inside text nodes when jQuery .html() extracts the template, allowing the attacker-controlled custom_id to break out of an HTML attribute context within the plugin's own frontend script.

Analysis

AI-generated

Technical impact

The Cool FormKit Lite plug‑in lets attackers with contributor‑level access inject arbitrary JavaScript into form pages. By setting the _elementor_data.form_fields[].custom_id field, insufficient sanitization is bypassed, enabling a stored DOM‑based XSS that runs whenever a visitor loads a page containing the affected form. This flaw can be used to deface content, steal credentials, or hijack user sessions.

Affected Systems

The vulnerability exists in the Cool FormKit Lite – Advanced Form Builder for Elementor plug‑in for WordPress, affecting all releases up to and including version 2.7.9. WordPress sites that have installed any of those versions and have a user with contributor or higher privileges are susceptible.

Risk and Exploitability

The CVSS v3 base score of 6.4 indicates a moderate risk. Attackers must authenticate within WordPress with contributor or higher access, which limits the threat surface but still allows malicious form creation on sites they control. Because the exploitation vector requires direct manipulation of the form configuration, the vulnerability is not trivially exploitable by remote unauthenticated users. The EPSS score is not available and the flaw is not yet listed in the CISA KEV catalog, but the potential impact of arbitrary script execution on site visitors warrants immediate attention.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Cool FormKit Lite to a version newer than 2.7.9 that includes the fix for the custom_id input sanitization.
  • If an upgrade is not possible immediately, deactivate or remove the plug‑in, or at least prevent contributors from editing form fields that use the custom_id attribute.
  • Review WordPress user roles and grant contributor access only when strictly necessary; consider reducing role privileges for users who do not need to edit forms.

Generated by OpenCVE AI on October 30, 2026 at 06:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Cool Plugins
Cool Plugins cool Formkit Lite
Wordpress-extensions
Wordpress-extensions cool Formkit Lite
Vendors & Products Cool Plugins
Cool Plugins cool Formkit Lite
Wordpress-extensions
Wordpress-extensions cool Formkit Lite
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description The Cool FormKit Lite – Advanced Form Builder for Elementor plugin for WordPress is vulnerable to Stored DOM-Based Cross-Site Scripting via the '_elementor_data.form_fields[].custom_id' parameter in all versions up to, and including, 2.7.9 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The esc_html() call applied at server emission is bypassed because the HTML fragment-serialization algorithm restores &quot; to a raw double-quote inside text nodes when jQuery .html() extracts the template, allowing the attacker-controlled custom_id to break out of an HTML attribute context within the plugin's own frontend script.
Title Cool FormKit Lite <= 2.7.9 - Authenticated (Contributor+) Stored DOM-Based Cross-Site Scripting via Form Field custom_id Parameter
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Oct 30, 2026, 3:57 PM
Reserved
Oct 28, 2026, 1:10 PM
Status
Deferred
Published
Oct 30, 2026, 6:16 AM
Modified
Oct 30, 2026, 4:17 PM