CVE-2026-7232
Received Received - Intake

Stored XSS in FormCraft WordPress Plugin

Vulnerability report for CVE-2026-7232, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-23

Last updated on: 2026-07-23

Assigner: Wordfence

Description

The FormCraft plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the '[parameter name]' parameter in all versions up to, and including, 3.9.14 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. The exploit chain combines a server-side gap β€” where composite matrix sub-field keys such as field2_0 and field2_1 are never passed through the sanitization loop and are stored raw via $wpdb->insert() β€” with a client-side gap where DOMPurify is only invoked when typeof field.value === 'string', but matrix values arrive from the server as arrays, bypassing the check before being mapped to strings and injected into the DOM. Additionally, the same sink is reachable via a second attack vector: array-typed field values are passed through htmlentities() on submission but later reversed by html_entity_decode() at formcraft-main.php:2608 and :2122, restoring the malicious payload before storage and rendering.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-23
Last Modified
2026-07-23
Generated
2026-07-23
AI Q&A
2026-07-23
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
formcraft formcraft to 3.9.14 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

The FormCraft WordPress plugin up to version 3.9.14 has a stored XSS vulnerability due to improper input sanitization and output escaping. Attackers can inject malicious scripts via the 'parameter name' field, which execute when users access infected pages. The flaw involves two gaps: server-side where certain matrix sub-field keys bypass sanitization, and client-side where DOMPurify fails to process array-typed values. Additionally, array values are temporarily sanitized but later decoded, restoring malicious payloads.

Detection Guidance

To detect this vulnerability, check if your WordPress site uses the FormCraft plugin version 3.9.14 or earlier. Inspect network traffic for suspicious script injections in form submissions or page content. Look for unusual payloads in matrix sub-field keys like field2_0 or field2_1. Review server logs for unauthorized script storage or rendering.

Impact Analysis

Unauthenticated attackers can inject arbitrary scripts into pages. When users visit these pages, the scripts execute in their browsers, potentially stealing cookies, session tokens, or sensitive data. Attackers could also perform actions on behalf of users, modify page content, or redirect to malicious sites. The impact includes data theft, account compromise, and website defacement.

Compliance Impact

This vulnerability could lead to unauthorized access to user data, violating GDPR's data protection principles and HIPAA's security requirements for protected health information. Organizations using the vulnerable plugin may face compliance breaches, legal penalties, and reputational damage due to potential data exposure or unauthorized processing of sensitive information.

Mitigation Strategies

Update the FormCraft plugin to version 3.9.15 or higher, as these versions address the XSS vulnerabilities described in CVE-2026-7232.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-7232. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart