CVE-2021-24381: NinjaForms < 3.5.8.2 - Admin+ Stored Cross-Site Scripting
Vulnerability summary
CVE-2021-24381 is a medium (CVSS 4.8) vulnerability in ninjaforms contact_form. EPSS estimates a 0.62% chance of exploitation in the next 30 days, higher than 51% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 4.8, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 25-10-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 2 sources · 2 versions- wordfenceSource4.8MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
EPSS trend
Probability
0.62%
Chance of exploitation in the next 30 days
Percentile
51%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.62% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (wpscan.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, administrative account, user interaction (CVSS vector). Other conditions: not stated in public data.
Ninjaforms1 product
- contact_form< 3.5.8.2
Unknown1 product
- ninja forms contact form – the drag and drop form builder for wordpress≥ 3.5.8.2, < 3.5.8.2
Wordpress1 product
- ninja-forms< 3.5.8.2
3 vendors · 3 products
References
2 links- wpscan.com/vulnerability/e383fae6-e0da-4aba-bb62-adf51c01bf8dX Refsource MISCExploitThird Party Advisory