CVE-2026-95515 in Ninja Forms Plugininfo

Summary

by MITRE • 09/23/2026

Unauthenticated Cross Site Scripting (XSS) in Ninja Forms <= 3.15.3 versions.

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Analysis

by VulDB Data Team • 09/23/2026

The vulnerability identified as an unauthenticated cross-site scripting flaw within Ninja Forms prior to version 3.16 represents a critical security deficiency that allows attackers to inject malicious scripts into web pages viewed by other users without requiring any form of authentication or user interaction beyond visiting the affected page. This specific class of vulnerability stems from insufficient input validation and output encoding mechanisms within the plugin's handling of form data, specifically in how it processes and renders content submitted through its various field types. The core technical flaw lies in the failure to properly sanitize user-supplied input before it is reflected back into the HTML response or stored for later retrieval by other administrators or users. When a victim interacts with a compromised form entry, such as clicking on a maliciously crafted link that triggers the execution of the injected script within the context of the Ninja Forms interface, the browser executes the arbitrary JavaScript code provided by the attacker. This exploitation vector is particularly dangerous because it bypasses standard access controls, allowing any internet user to initiate the attack sequence without needing valid credentials for the WordPress installation hosting the vulnerable plugin.

From a technical perspective, this vulnerability aligns with CWE-79, which categorizes improper neutralization of input during web page generation as Cross-site Scripting. The lack of proper encoding means that special characters such as angle brackets and quotation marks are interpreted by the browser's HTML parser rather than being treated as literal data. This allows an attacker to construct a payload that can access sensitive cookies, session tokens, or local storage items associated with the victim’s active WordPress admin session if they happen to be logged in while viewing the compromised form entry. Furthermore, because Ninja Forms is widely used for creating complex forms including those intended for administrative use, the potential impact extends beyond simple defacement. An attacker can leverage this weakness to perform actions on behalf of an authenticated administrator, such as modifying site settings, installing additional malicious plugins, or exfiltrating database contents through a combination of client-side scripting and server-side requests initiated by the victim's browser.

The operational impact of this vulnerability is severe due to its unauthenticated nature and the high prevalence of Ninja Forms in the WordPress ecosystem. Attackers can deploy phishing campaigns where victims are tricked into submitting forms containing malicious payloads, which then execute when an administrator views the submission data within the plugin’s dashboard. This creates a direct path for account takeover and full site compromise. The vulnerability also facilitates persistent attacks if the injected script is stored in the database rather than just reflected immediately, leading to what is known as Stored XSS. In such scenarios, every subsequent user who accesses the affected form entry becomes a potential victim, amplifying the blast radius of a single successful exploitation attempt. This behavior maps closely to MITRE ATT&CK technique T1059, specifically sub-techniques involving JavaScript execution in web browsers, which is commonly used for credential harvesting and session hijacking during cyber attacks against web applications.

To mitigate this risk, organizations running Ninja Forms must immediately upgrade to version 3.16 or later, where the developers have implemented stricter input sanitization and output encoding protocols to prevent script injection. For environments where immediate patching is not feasible due to compatibility concerns with other plugins or custom code, administrators should consider implementing a Web Application Firewall that can detect and block common XSS payloads in HTTP requests. Additionally, enforcing strict Content Security Policy headers on the WordPress site can significantly reduce the impact of any successful exploitation by restricting the sources from which scripts are allowed to execute. Regular security audits and penetration testing focused on form handling logic are also recommended to identify similar vulnerabilities in custom code or other plugins that may share similar architectural weaknesses. Maintaining up-to-date software components is the most effective defense against such widespread and well-documented vulnerability classes, ensuring that known exploitation paths are closed before they can be leveraged by malicious actors for large-scale attacks.

Responsible

Patchstack

Reservation

09/22/2026

Disclosure

09/23/2026

Moderation

accepted

CPE

ready

EPSS

0.00000

KEV

no

Activities

very low

Sources

Want to know what is going to be exploited?

We predict KEV entries!