
Proof-of-concept for CVE-2026-110899, an unauthenticated stored XSS in Ninja Forms via the nf_ajax_submit AJAX action, bypassing extra-data validation and key filtering.
The nf_ajax_submit AJAX action in Ninja Forms is accessible to unauthenticated users. The handler passes the formData[extra] array to validateExtraData() in includes/Actions/Save.php, but an early return at line 306 causes validation to be skipped entirely.
An attacker can inject an arbitrary HTML/JavaScript payload as an array key in extra. By appending a backslash to a reserved key name (e.g. calculations), the exact-match removal logic in Submission.php:432 fails to strip it. WordPress's built-in wp_unslash() then silently removes the backslash before the data is stored, leaving the key as calculations in the database.
When an administrator opens the submission edit screen, Templates/admin-metaboxes-calcs.html.php:4 echoes the stored key directly into the page without escaping, executing the attacker's JavaScript in the admin's browser session.