{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-24159","id":"CVE-2021-24159","title":"Contact Form 7 Style <=  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 updat","descriptionLong":"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.","published":"2021-04-05T18:27:43.000Z","updated":"2026-06-17T03:39:29.670Z","reserved":"2021-01-14T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"WPScan","metric":{"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","rating":"high","source":"NVD"},"metrics":[{"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","rating":"high","source":"NVD"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":["Contact Form 7 Style"],"affectedProducts":[{"vendor":"Unknown","product":"Contact Form 7 Style","defaultStatus":null,"versions":[{"lessThanOrEqual":"3.1.9","status":"affected","version":"3.1.9","versionType":"custom"}],"platforms":[]}],"packages":[],"cwes":["CWE-352"],"aliases":[],"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"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00593,"epssPercentile":0.49153,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-24159","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-24159","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-24159","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-24159","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}