Ninja Forms <= 3.5.8.1 - Cross-Site Scripting

4.8
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVE CVE-2021-24381
CVSS 4.8 (Medium)
Publicly Published September 27, 2021
Last Updated January 22, 2024
Researcher Rodel Plasabas

Description

The Ninja Forms Contact Form WordPress plugin before 3.5.8.2 does not sanitise and escape the custom class name of the form field created, which could allow high privilege users to perform Cross-Site Scripting attacks even when the unfiltered_html capability is disallowed.

Learn more about Cross-Site Scripting vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for Ninja Forms – The Contact Form Builder That Grows With You

Software Type Plugin
Software Slug ninja-forms (view on wordpress.org)
Patched? Yes
Remediation Update to version 3.5.8.2, or a newer patched version
Affected Version
  • < 3.5.8.2
Patched Version
  • 3.5.8.2

Recent vulnerabilities in Ninja Forms – The Contact Form Builder That Grows With You

# Title CVE ID CVSS Researchers Date
1 Ninja Forms <= 3.15.1 - Unauthenticated Stored Cross-Site Scripting via Repeater Child 'type' Confusion via Unmatched Array Key CVE-2026-19769 7.2 Jonah Burgess (CryptoCat) September 4, 2026
2 Ninja Forms <= 3.14.9 - Authenticated (Administrator+) SQL Injection via Import File 'settings' Key CVE-2026-15663 4.9 Wordfence PRISM July 23, 2026
3 Ninja Forms <= 3.14.1 - Missing Authorization to Unauthenticated Sensitive Information Disclosure via token/refresh REST Endpoint CVE-2026-1239 7.5 suyoung kim(AhnLab) June 30, 2026
4 Ninja Forms <= 3.14.1 - Authenticated (Contributor+) Sensitive Information Disclosure via Block Editor Token CVE-2026-1307 6.5 Lucas Montes (NiRoX) March 27, 2026
5 Ninja Forms <= 3.14.0 - Unauthenticated Information Disclosure in nf_ajax_submit AJAX Action CVE-2026-2268 7.5 johska February 9, 2026
6 Ninja Forms – The Contact Form Builder That Grows With You <= 3.13.2 - Insecure Direct Object Reference to Unauthenticated Sensitive Information Exposure via Unscoped Bearer Token CVE-2025-11924 7.5 Lucas Montes (NiRoX), Marcin Dudek (dudekmar) December 16, 2025
7 Ninja Forms <= 3.13.2 - Missing Authorization to Unauthenticated Submission Disclosure CVE-2025-14072 7.5 Marco Lunardi December 12, 2025
8 Ninja Forms – The Contact Form Builder That Grows With You <= 3.12.0 - Cross-Site Request Forgery to Plugin Settings Update CVE-2025-10499 4.3 Nguyen Ngoc Quang Bach (maysbachs) September 26, 2025
9 Ninja Forms – The Contact Form Builder That Grows With You <= 3.12.0 - Cross-Site Request Forgery to Limited File Deletion CVE-2025-10498 4.3 Nguyen Ngoc Quang Bach (maysbachs) September 26, 2025
10 Ninja Forms <= 3.11.0 - Unauthenticated PHP Object Injection CVE-2025-9083 8.1 wesley (wcraft) August 28, 2025

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation