Skip to main content
CVE Vulnerability Database
Vulnerability Database/CVE-2026-65050

CVE-2026-65050: Ninja Forms WordPress Auth Bypass Flaw

CVE-2026-65050 is an authorization bypass vulnerability in Ninja Forms WordPress plugin that exposes form submissions containing sensitive PII to unauthenticated users. This article covers technical details, affected versions, and mitigation.

Published:

CVE-2026-65050 Overview

CVE-2026-65050 is a missing authorization vulnerability [CWE-862] in the Ninja Forms WordPress plugin, versions 3.14.8 and prior. The flaw resides in the render callback of the ninja-forms/submissions-table Gutenberg block. Authenticated attackers holding Author-level privileges can embed the block on any published post with an arbitrary formID. The plugin then injects a signed bearer token into every page visitor's browser via wp_localize_script. That token unlocks the REST API submissions endpoint, exposing stored form submission fields to unauthenticated visitors. Leaked data includes personally identifiable information (PII) such as names, email addresses, and phone numbers.

Critical Impact

An Author-level user can publish a post that leaks every stored Ninja Forms submission — including PII — to any unauthenticated visitor through a signed REST API bearer token.

Affected Products

  • Ninja Forms WordPress plugin version 3.14.8
  • Ninja Forms WordPress plugin versions prior to 3.14.8
  • WordPress sites exposing the ninja-forms/submissions-table Gutenberg block

Discovery Timeline

  • 2026-07-21 - CVE-2026-65050 published to the National Vulnerability Database (NVD)
  • 2026-07-23 - CVE-2026-65050 last updated in NVD database

Technical Details for CVE-2026-65050

Vulnerability Analysis

The vulnerability sits in the server-side render callback registered for the ninja-forms/submissions-table Gutenberg block. The callback does not verify whether the current viewer is authorized to see submissions for the requested formID. When the block is placed on a published post, the plugin calls wp_localize_script to inject a signed bearer token into the rendered page. That token is scoped to the submissions REST endpoint but is delivered to every page visitor, including unauthenticated users. An attacker only needs Author-level access to publish content that embeds the block. Once the post is public, any visitor can read the token from the page source and query the REST API to retrieve full submission records. The vulnerability aligns with CWE-862: Missing Authorization.

Root Cause

The render callback trusts the formID attribute supplied by the block author and issues a bearer token without evaluating the viewer's capability to read submissions. Authorization is delegated to token possession, but the token is exposed to any browser rendering the page.

Attack Vector

The attack requires network access and low privileges. An Author-level user creates or edits a post, inserts the ninja-forms/submissions-table block, and sets formID to a target form. After publishing, the attacker or any anonymous visitor loads the post, extracts the bearer token from the localized script data, and calls the Ninja Forms submissions REST endpoint. The endpoint returns all stored submission field values for that form. See the VulnCheck Advisory on Ninja Forms for a full technical breakdown.

// Verified proof-of-concept code is not published.
// See the VulnCheck advisory linked above for exploitation details.

Detection Methods for CVE-2026-65050

Indicators of Compromise

  • Published posts or pages containing the ninja-forms/submissions-table block that were not authored by an administrator.
  • Unusual GET requests from unauthenticated clients to Ninja Forms REST endpoints returning submission data.
  • Bearer tokens issued via wp_localize_script appearing on public-facing post HTML.
  • Spikes in outbound response size from /wp-json/ endpoints tied to Ninja Forms.

Detection Strategies

  • Audit all posts and pages for the block name ninja-forms/submissions-table in post_content.
  • Review WordPress activity logs for Author-level users publishing posts that embed Gutenberg blocks referencing form submissions.
  • Correlate web server access logs to identify anonymous traffic hitting Ninja Forms REST routes shortly after a new post is published.

Monitoring Recommendations

  • Enable verbose logging on the WordPress REST API and alert on submissions endpoint access without an authenticated session cookie.
  • Track the Ninja Forms plugin version across all WordPress instances and flag any host running 3.14.8 or earlier.
  • Monitor for new or modified posts authored by non-administrator accounts that reference the Ninja Forms block namespace.

How to Mitigate CVE-2026-65050

Immediate Actions Required

  • Update the Ninja Forms plugin to the fixed release published after 3.14.8. Review the WordPress Ninja Forms Changelog to confirm the patched version.
  • Audit all Author-level and higher accounts and remove any that are not required. Enforce strong authentication for editorial roles.
  • Search existing posts for the ninja-forms/submissions-table block and remove unauthorized instances.

Patch Information

Upgrade Ninja Forms beyond version 3.14.8. Refer to the WordPress Ninja Forms Plugin listing for the current release and the VulnCheck Advisory on Ninja Forms for remediation guidance.

Workarounds

  • Restrict the edit_posts and publish_posts capabilities so only trusted editors and administrators can publish content until the plugin is updated.
  • Block public access to /wp-json/ninja-forms/ routes at the web application firewall (WAF) or reverse proxy layer.
  • Temporarily deactivate the Ninja Forms plugin on public sites that store sensitive submission data and cannot be patched immediately.
bash
# Example: block anonymous access to Ninja Forms REST routes at the reverse proxy
# nginx configuration snippet
location ~* /wp-json/ninja-forms/ {
    if ($http_cookie !~* "wordpress_logged_in") {
        return 403;
    }
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.