---
id: "CVE-2026-118500"
kind: "vulnerability"
aliases: ["CVE-2026-118500"]
title: "WordPress FormKit Lite plugin: stored XSS via form field custom_id"
severity: "medium"
cvss: 6.4
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["elementor", "formkit-lite", "package", "wordpress"]
not_affected_if: ["admin-only-editing", "plugin-not-installed"]
published_at: "2026-10-30T06:16:47+00:00"
first_seen_at: "2026-10-30T06:28:39+00:00"
updated_at: "2026-10-30T06:29:52+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-118500", "first_seen_at": "2026-10-30T06:28:39+00:00"}]
---

# WordPress FormKit Lite plugin: stored XSS via form field custom_id

The Cool FormKit Lite plugin for WordPress and Elementor, versions up to and including 2.7.9, fails to sanitize the custom_id field of form fields, so injected scripts can run in pages. An attacker with contributor-level access can plant a script that runs in the browser of anyone who opens the injected page.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed version of the FormKit Lite plugin in the WordPress admin plugin list, looking for `2.7.9` or earlier
- Look for the plugin slug in the site's `wp-content/plugins` directory

## Timeline

- 2026-10-30T06:28:39+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-118500

## From the sources

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.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
