# CVE-2021-24381: NinjaForms \< 3.5.8.2 - Admin+ Stored Cross-Site Scripting

- Priority: **Routine**
- Reason: Not severe (CVSS 4.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-10-25 · Modified: 2024-08-03
- Record: https://cvemate.com/vulnerability/CVE-2021-24381 · JSON: https://cvemate.com/vulnerability/CVE-2021-24381/json

## Description

```text
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.
```

## Signals

- CVSS: 4.8 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
- EPSS: 0.617%, percentile 51.025%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- ninjaforms contact\_form: \< 3.5.8.2
- unknown ninja forms contact form – the drag and drop form builder for wordpress: ≥ 3.5.8.2, \< 3.5.8.2
- wordpress ninja-forms: \< 3.5.8.2

## References

- <https://wpscan.com/vulnerability/e383fae6-e0da-4aba-bb62-adf51c01bf8d>
- <https://www.wordfence.com/threat-intel/vulnerabilities/id/8703c76b-89c6-438a-b953-03847d965096>

---

Data as of 2026-12-05T04:47:14.299Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
