{"id":"CVE-2021-24381","aliases":["CVE-2021-24381"],"related":[],"kind":"vulnerability","state":"published","title":"NinjaForms < 3.5.8.2 - Admin+ Stored Cross-Site Scripting","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"El plugin Ninja Forms Contact Form de WordPress versiones anteriores a 3.5.8.2, no sanea ni escapa del nombre de la clase personalizada del campo form creado, lo que podría permitir a usuarios con altos privilegios llevar a cabo ataques de tipo Cross-Site Scripting incluso cuando la capacidad unfiltered_html está deshabilitada","source":"nvd"}],"published":"2021-10-25T13:20:32.000Z","modified":"2026-06-17T03:39:55.983Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","score":3.5,"rating":"LOW"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"custom","introduced":"3.5.8.2","fixed":"3.5.8.2","status":"affected"}],"vendor":"Unknown","product":"Ninja Forms Contact Form – The Drag and Drop Form Builder for WordPress","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"3.5.8.2"}],"vendor":"ninjaforms","product":"contact_form","cpe":"cpe:2.3:a:ninjaforms:contact_form:*:*:*:*:*:wordpress:*:*","source":"nvd"}],"references":[{"url":"https://wpscan.com/vulnerability/e383fae6-e0da-4aba-bb62-adf51c01bf8d","tags":["exploit","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["Rodel Plasabas"],"assigner":"WPScan","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-24381","url":"https://www.cve.org/CVERecord?id=CVE-2021-24381","licence":"CVE Terms of Use","modified":"2024-08-03T19:28:23.777Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-24381","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-24381","licence":"Public domain","modified":"2026-06-17T03:39:55.983Z"}],"updatedAt":"2026-11-25T22:58:04.750Z","epss":{"score":0.00617,"percentile":0.50929,"date":"2026-12-01T12:00:22.000Z"}}