{"id":"CVE-2021-24381","aliases":["EUVD-2021-11293","GHSA-57gv-mm7f-cwg6"],"status":"published","title":"NinjaForms \u003c 3.5.8.2 - Admin+ Stored Cross-Site Scripting","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.","severity":{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.00617,"percentile":0.5005,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-79"],"published":"2021-10-25T13:20:32Z","modified":"2026-06-17T03:39:55Z","products":[{"vendor":"ninjaforms","product":"contact_form"},{"vendor":"unknown","product":"ninja forms contact form – the drag and drop form builder for wordpress"}],"references":[{"url":"https://wpscan.com/vulnerability/e383fae6-e0da-4aba-bb62-adf51c01bf8d","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-24381"},{"url":"https://github.com/advisories/GHSA-57gv-mm7f-cwg6"}],"sources":{"cve":[{"id":"CVE-2021-24381","title":"NinjaForms \u003c 3.5.8.2 - Admin+ Stored Cross-Site Scripting","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.","status":"published","published":"2021-10-25T13:20:32Z","modified":"2024-08-03T19:28:23.777Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:33:05.000797Z"}],"euvd":[{"id":"EUVD-2021-11293","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.","status":"published","published":"2021-10-25T13:20:32Z","modified":"2024-08-03T19:28:23Z","updated_at":"2026-11-03T03:24:57.947294Z"}],"ghsa":[{"id":"GHSA-57gv-mm7f-cwg6","title":"The Ninja Forms Contact Form WordPress plugin before 3.5.8.2 does not sanitise and escape the...","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.","status":"published","published":"2022-05-24T19:18:45Z","modified":"2023-01-30T05:03:00Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:46:45.069338Z"}],"nvd":[{"id":"CVE-2021-24381","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.","status":"published","published":"2021-10-25T14:15:09.927Z","modified":"2026-06-17T03:39:55.983Z","cvss":[{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":3.5,"vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","level":"low","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:07:00.137719Z"}]}}
