WordPress security changelog
HIGH CVE-2026-18325 Deferred

Forminator select fields permit forged upload-record stored XSS

Forminator through 1.56.1 allows an unauthenticated caller to submit crafted data through the public custom-form action, including wp_ajax_nopriv_forminator_submit_form_custom-forms. Forminator_Core::sanitize_array() skips filtering for keys beginning select-, and set_field_data() trusts a client-supplied return flag as though it came from internal plugin logic. An attacker can therefore persist a forged upload-field record containing an arbitrary nested file.file_url. Forminator_Form_Entry_Model later inserts that URL unescaped into an upload link, producing stored XSS when the affected entry is rendered. The disclosed path forges metadata; it does not establish an arbitrary file upload. The exact nested POST representation, required form configuration and victim-facing entry view are not disclosed.

CVE / CNA score 7.2 CVSS 3.1 · security@wordfence.com
NVD score Pending NVD has not published its own CVSS assessment.
Component
Forminator Forms – Contact Form, Payment Form & Custom Form Builder
Plugin slug
forminator
Affected
<= 1.56.1
Safe version
1.56.2
Published
Aug 06, 2026
Weakness
CWE-79 — Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

This CVE was published Aug 06, 2026 and is one of 47 known issues for this plugin.

Update, patch or deactivate.

Update Forminator to 1.56.2 or later. Review recent form entries for forged upload records or script-bearing URLs and invalidate privileged sessions if suspicious entries were viewed.

A safe version is available, so updating to that version or later is the preferred remediation. If an immediate update is not practical, consider a targeted application patch or temporarily restricting the affected functionality.

Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.

Technical description

The Forminator Forms – Contact Form, Payment Form & Custom Form Builder plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Forged Upload Record via Select Field in all versions up to, and including, 1.56.1 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 is possible because Forminator_Core::sanitize_array() skips all filtering for keys prefixed with 'select-', and set_field_data() treats a submitted 'return' member as a trusted internal flag — allowing an unauthenticated attacker to forge and persist a complete upload field record with an arbitrary file_url value without any sanitization or validation.

CVE / CNA vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

Primary and upstream sources