---
title: "CVE-2021-24381: Ninja Forms Contact Form, The Drag and Drop Form Builder for WordPress Vulnerability"
publisher: SpecStream
source: "CVE Program (CVEProject cvelistV5)"
source_url: "https://github.com/CVEProject/cvelistV5"
---

# CVE-2021-24381: Ninja Forms Contact Form, The Drag and Drop Form Builder for WordPress Vulnerability

SpecStream dataset, built from [CVE Program (CVEProject cvelistV5)](https://github.com/CVEProject/cvelistV5), updated December 6, 2026.

CVE-2021-24381 is a published software vulnerability affecting Ninja Forms Contact Form, The Drag and Drop Form Builder for WordPress. Published October 25, 2021 by WPScan. 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.

[CVE Vulnerabilities](/data/cve)

SpecStream is the live web data engine for teams and agents.

- CVE ID: CVE-2021-24381
- Status: Published
- Affected vendor: Multiple or unspecified
- Affected product: Ninja Forms Contact Form, The Drag and Drop Form Builder for WordPress
- Assigner CNA: WPScan
- Published date: October 25, 2021
- Last updated: August 3, 2024
- Weakness (CWE): CWE-79 Cross-site Scripting (XSS)

## Vulnerability data and live monitoring

Query CVE feeds, affected software packages and severity updates through the SpecStream API or export structured CSV files.

- [https://specstream.ai/data/cve](https://specstream.ai/data/cve)
- [https://specstream.ai/signup?src=cve-vulnerabilities](https://specstream.ai/signup?src=cve-vulnerabilities)

CVE Terms of Use (Public Vulnerability Records).

## Access via API, MCP, or CSV

Query live web and register data via the SpecStream Search API ($1 per 1,000 fast searches), Extract API ($0.80 per 1,000 Markdown pages), or MCP server (`npx -y @specstream/mcp-server`). Start with [$2 free API credit (no card)](https://specstream.ai/signup) or unlock 5,000 CSV rows/mo plus $49 API credit with the [Monthly Pro Pass ($49/mo)](https://specstream.ai/v1/billing/credit-plans/checkout?plan=starter).

Free to quote with credit and a link. Copying in bulk needs a [data licence](https://specstream.ai/data/licence).

## Business lists in the United States

- [Electric utilities in the United States](https://specstream.ai/data/businesses/electric-utilities/united-states)
- [Event technology companies in the United States](https://specstream.ai/data/businesses/event-technology-companies/united-states)
- [Fitness equipment wholesalers in the United States](https://specstream.ai/data/businesses/fitness-equipment-wholesalers/united-states)
- [General hospitals in the United States](https://specstream.ai/data/businesses/general-hospitals/united-states)
- [Hazardous waste disposal companies in the United States](https://specstream.ai/data/businesses/hazardous-waste-disposal-companies/united-states)
- [HR services firms in the United States](https://specstream.ai/data/businesses/hr-services-firms/united-states)
