Security Alert: Unauthenticated Stored XSS in Ninja Forms for WordPress (CVE-2026-65048)

A critical Stored Cross-Site Scripting (XSS) vulnerability, tracked as CVE-2026-65048, has been identified in the Ninja Forms plugin for WordPress (versions 3.10.4 through 3.14.9). This flaw allows unauthenticated users to inject malicious scripts into public forms, which execute when an administrator views form submissions.

Understanding the Vulnerability

The root cause stems from how the plugin processes input inside its Repeatable Fieldset feature:

  • Missing Numeric Validation: The internal parseSubmissionIndex() function accepts arbitrary text strings as submission indexes without validating that the value is strictly numeric.
  • Unescaped Output Rendering: When an administrator logs into the WordPress dashboard to view form entries, the admin_form_element() function interpolates that submission index directly into the HTML without escaping it.
  • The Attack Vector: An unauthenticated attacker can submit a public form with a specially crafted repeater key containing JavaScript. When the administrator views the submission entry, the script runs in their session context, potentially allowing cookie theft, unauthorized user creation, or site compromise.

Required Action for Site Administrators

Because this vulnerability requires no authentication to submit and triggers inside the administrative backend, site owners should take immediate steps to secure their forms:

  1. Update Ninja Forms Immediately: Ensure you update Ninja Forms to version 3.14.10 or higher to apply the patch for CVE-2026-65048.
  2. Audit Form Submissions: Review recent form logs or submissions involving Repeatable Fieldsets for unexpected characters or script strings.
  3. Clear Caches: Flush your page cache and WordPress security plugin caches to ensure updated rendering code takes effect immediately.

Ensuring that user input is strictly validated on processing and properly escaped before rendering remains essential for protecting website administration panels.

Comments