Vulnerabilities / Ninja Forms / WPSEC-2026-1132

Ninja Forms <= 3.15.5 - Reflected Cross-Site Scripting via Query String Merge Tags in HTML Fields

Medium 6.1 CWE-79Fixed in 3.15.6
ID
WPSEC-2026-1132
Plugin
Ninja Forms – Contact Form Builder with Calculators, Quizzes, Signatures & AI Form Builder (ninja-forms)
Affected
all versions before 3.15.6
Remediation
Update to 3.15.6 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-10-16
Attack surface
Ninja Forms on WPSec AttackSurface
Fix released
Published

Description

The Ninja Forms plugin for WordPress is vulnerable to DOM-based Reflected Cross-Site Scripting via query string merge tags in HTML fields in all versions up to, and including, 3.15.5. This is due to the front-end script inserting the raw query string value into the HTML field content without escaping and rendering it as markup. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages containing a form whose HTML field combines field and query string merge tags, if they can trick a user into clicking a crafted link.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON or Markdown · All advisories: JSON, RSS

License: CC BY 4.0