4.8

CVE-2021-24381: ninjaforms contact_form Cross-site Scripting

CVSS: 4.8v3.1MediumModified
Published 25-10-2021Last modified 03-08-2024

Vulnerability summary

CVE-2021-24381 is a medium (CVSS 4.8) Cross-site Scripting vulnerability in ninjaforms contact_form. EPSS estimates a 0.62% chance of exploitation in the next 30 days, higher than 48.5% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
29/100
0100
Medium · default modelHow is this calculated?
CVSS score
4.8/10
010
Medium · v3.1 (NVD)
EPSS score
0.62%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1reference

Timeline

  1. 25-10-2021
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last 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

EPSS trend

Probability

0.62%

Chance of exploitation in the next 30 days

Percentile

49%

Versus all other CVEs

30-day change

0.00 pp

From 0.62% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.62%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (wpscan.com)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Ninjaforms1 product
Unknown1 product
Wordpress1 product
  • ninja-forms< 3.5.8.2

3 vendors · 3 products

References

2 links