BlogSafe.org

WordPress CVEs

Search and review WordPress-related vulnerability records.

← Back to CVE list

CVE-2021-24381

MEDIUM 4.8 CVSS 3.1
Published
October 25, 2021
Last modified
June 17, 2026
NVD status
Modified
Reported by
contact@wpscan.com
Weakness
CWE-79
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N

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.

Affected WordPress components

  • Ninja Forms – The Contact Form Builder That Grows With You Plugin · ninja-forms
    Confirmed match Active
    From 3.5.8.2 (including) to 3.5.8.2 (excluding)
    View on WordPress.org

A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.

Affected products and versions

  • Unknown Ninja Forms Contact Form – The Drag and Drop Form Builder for WordPress — From 3.5.8.2 (including) to 3.5.8.2 (excluding)
  • ninjaforms contact_form — Before 3.5.8.2

References

  • wpscan.com https://wpscan.com/vulnerability/e383fae6-e0da-4aba-bb62-adf51c01bf8d Exploit, Third Party Advisory
  • nvd.nist.gov Official NVD record