CVE-2026-65048

Ninja Forms Unauthenticated Stored Cross-Site Scripting via Repeatable Fieldset Submission Index

Published Jul 21, 2026 CVSS 4.0 · 9.3 Critical EPSS < 1% KEV · Not listed
Description
Ninja Forms plugin for WordPress versions 3.10.4 through 3.14.9 contains an unauthenticated stored cross-site scripting vulnerability in the Repeatable Fieldset feature where parseSubmissionIndex() accepts arbitrary strings as submission indexes without numeric validation, and admin_form_element() interpolates the index directly into HTML without escaping. An unauthenticated attacker can submit a public form with a crafted repeater child key containing malicious script payloads, which execute in an administrator's browser when viewing submissions in the WordPress admin panel, enabling session-cookie theft, creation of administrator accounts, installation of malicious plugins, and arbitrary modification of site content.

Analysis

AI-generated

Technical impact

The vulnerability resides in the Ninja Forms plugin for WordPress versions 3.10.4 through 3.14.9. An unauthenticated attacker can submit a public form that leverages the Repeatable Fieldset feature with a crafted child key containing malicious script. The parser parseSubmissionIndex incorrectly accepts arbitrary strings as indices, and admin_form_element interpolates the index directly into HTML without escaping, resulting in a stored cross‑site scripting flaw that executes when an administrator views the submission. The impact includes session‑cookie theft, creation of administrator accounts, installation of malicious plugins, and arbitrary modification of site content.

Affected Systems

Ninja Forms plugin within WordPress installations running any version from 3.10.4 to 3.14.9 is affected. The vulnerability does not cross vendor boundaries beyond the Ninja Forms plugin. Versions outside this range, including newer releases, are unaffected.

Risk and Exploitability

The CVSS score of 9.3 classifies this flaw as Critical. However, the EPSS score is less than 1 % and the flaw is not listed in the CISA KEV catalog, indicating a low immediate exploitation risk. The likely attack vector is an unauthenticated remote attacker who can submit the vulnerable form from any external source; the script then triggers only when an authorized administrator reviews the stored entry. While the flaw requires an admin action to realize the impact, the potential damage from a successful exploitation—session hijacking, privilege escalation, and code injection—makes it essential to address the vulnerability as soon as possible.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Ninja Forms to the latest available version that corrects the validation of submission indices.
  • If an upgrade is not immediately possible, disable the Repeatable Fieldset feature or restrict its use to trusted, internal forms only.
  • Implement output encoding on the admin pages or use a web application firewall rule to strip script tags from submission indexes.

Generated by OpenCVE AI on July 30, 2026 at 17:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Saturday Drive
Saturday Drive ninja Forms
Wordpress
Wordpress wordpress
Vendors & Products Saturday Drive
Saturday Drive ninja Forms
Wordpress
Wordpress wordpress
Type Values Removed Values Added
First Time appeared Ninjaforms
Ninjaforms ninja Forms
CPEs cpe:2.3:a:ninjaforms:ninja_forms:*:*:*:*:*:wordpress:*:*
Vendors & Products Ninjaforms
Ninjaforms ninja Forms
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description Ninja Forms plugin for WordPress versions 3.10.4 through 3.14.9 contains an unauthenticated stored cross-site scripting vulnerability in the Repeatable Fieldset feature where parseSubmissionIndex() accepts arbitrary strings as submission indexes without numeric validation, and admin_form_element() interpolates the index directly into HTML without escaping. An unauthenticated attacker can submit a public form with a crafted repeater child key containing malicious script payloads, which execute in an administrator's browser when viewing submissions in the WordPress admin panel, enabling session-cookie theft, creation of administrator accounts, installation of malicious plugins, and arbitrary modification of site content.
Title Ninja Forms Unauthenticated Stored Cross-Site Scripting via Repeatable Fieldset Submission Index
Weaknesses CWE-79
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 9.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N'}

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Jul 22, 2026, 2:56 PM
Reserved
Jul 21, 2026, 2:05 PM
Status
Deferred
Published
Jul 21, 2026, 3:16 PM
Modified
Oct 24, 2026, 8:10 PM