{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-24159","published":"2021-04-05T19:15:15.047000Z","last_modified":"2026-06-17T03:39:29.670000Z","status":"Modified","cvss":{"version":"3.1","score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-352"],"cpes":[{"criteria":"cpe:2.3:a:rocklobster:contact_form_7:*:*:*:*:*:wordpress:*:*","part":"a","vendor":"rocklobster","product":"contact_form_7","version_end_including":"3.1.9"}],"cpes_truncated":false,"vendors":["rocklobster"],"products":["rocklobster/contact_form_7"],"epss":{"score":0.00593,"percentile":0.49715,"date":"2026-12-01","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":68,"links":{"html_es":"/es/cve/CVE-2021-24159/","html_en":"/en/cve/CVE-2021-24159/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-24159","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-24159"},"untrusted":{"vendor_name":"Rocklobster","product_name":"Contact Form 7","desc_en":"Due to the lack of sanitization and lack of nonce protection on the custom CSS feature, an attacker could craft a request to inject malicious JavaScript on a site using the Contact Form 7 Style WordPress plugin through 3.1.9. If an attacker successfully tricked a site’s administrator into clicking a link or attachment, then the request could be sent and the CSS settings would be successfully updated to include malicious JavaScript.","affected":[],"references":[{"url":"https://wpscan.com/vulnerability/363182f1-9fda-4363-8f6a-be37c4c07aa9","tags":["Third Party Advisory"]},{"url":"https://www.wordfence.com/blog/2021/02/unpatched-vulnerability-50000-wp-sites-must-find-alternative-for-contact-form-7-style/","tags":["Third Party Advisory"]}]}}