CVE-2021-24381Ninjaforms Contact Form
Medium 4.8
Follow: this CVE · Ninjaforms · Ninjaforms Contact Form We alert you by email or Slack (account required).
- Priority
- 29
- CVSS 3.1
- 4.8
- EPSS
- 0.6% probability of exploitation in 30 days · percentile 51
- Auth required
- Yes
- Published
- Oct 25, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Contact Form.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| ninjaforms | contact_form | < 3.5.8.2 |
Official sources
References
Links published by the sources. Open them with care.
- wpscan.com Exploit Third Party Advisory