CVE-2021-24159
HIGH
8.8
CVSS 3.1
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.
Affected WordPress components
-
contact-form-7-style Plugin · contact-form-7-styleFrom 3.1.9 (including) to 3.1.9 (including)View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- Unknown Contact Form 7 Style — From 3.1.9 (including) to 3.1.9 (including)
- rocklobster contact_form_7 — Up to and including 3.1.9
References
- wpscan.com https://wpscan.com/vulnerability/363182f1-9fda-4363-8f6a-be37c4c07aa9 Third Party Advisory
- www.wordfence.com https://www.wordfence.com/blog/2021/02/unpatched-vulnerability-50000-wp-sites-must-find-alternative-for-contact-form-7-style/ Third Party Advisory
- nvd.nist.gov Official NVD record