{"id":"CVE-2021-24159","aliases":["EUVD-2021-11073","GHSA-mw7f-7hv9-rrf6"],"status":"published","title":"Contact Form 7 Style \u003c=  3.1.9 - Cross-Site Request Forgery to Stored Cross-Site Scripting","description":"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.","severity":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.00593,"percentile":0.48808,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-352"],"published":"2021-04-05T18:27:43Z","modified":"2026-06-17T03:39:29Z","products":[{"vendor":"ionuticlanzan","product":"contact form 7 style"},{"vendor":"rocklobster","product":"contact_form_7"},{"vendor":"unknown","product":"contact form 7 style"}],"references":[{"url":"https://wpscan.com/vulnerability/363182f1-9fda-4363-8f6a-be37c4c07aa9","tags":["x_refsource_CONFIRM","x_transferred","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":["x_refsource_MISC","x_transferred","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-24159"},{"url":"https://www.wordfence.com/blog/2021/02/unpatched-vulnerability-50000-wp-sites-must-find-alternative-for-contact-form-7-style"},{"url":"https://github.com/advisories/GHSA-mw7f-7hv9-rrf6"}],"sources":{"cve":[{"id":"CVE-2021-24159","title":"Contact Form 7 Style \u003c=  3.1.9 - Cross-Site Request Forgery to Stored Cross-Site Scripting","description":"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.","status":"published","published":"2021-04-05T18:27:43Z","modified":"2024-08-03T19:21:18.633Z","cwes":["CWE-352"],"updated_at":"2026-11-02T14:33:05.331617Z"}],"euvd":[{"id":"EUVD-2021-11073","description":"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.","status":"published","published":"2021-04-05T18:27:43Z","modified":"2024-08-03T19:21:18Z","updated_at":"2026-11-03T03:24:59.071017Z"}],"ghsa":[{"id":"GHSA-mw7f-7hv9-rrf6","title":"Due to the lack of sanitization and lack of nonce protection on the custom CSS feature, an...","description":"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.","status":"published","published":"2022-05-24T22:28:48Z","modified":"2024-04-04T03:11:06Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-352"],"updated_at":"2026-11-02T14:56:13.784244Z"}],"nvd":[{"id":"CVE-2021-24159","description":"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.","status":"published","published":"2021-04-05T19:15:15.047Z","modified":"2026-06-17T03:39:29.67Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-352"],"updated_at":"2026-11-02T14:06:51.197859Z"}]}}
