CVE-2021-24159

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:rocklobster:contact_form_7:*:*:*:*:*:wordpress:*:*

History

07 Nov 2023, 03:31

Type Values Removed Values Added
Summary 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. 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.

20 Apr 2021, 17:55

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : 6.8
v3 : 8.8
CPE cpe:2.3:a:rocklobster:contact_form_7:*:*:*:*:*:wordpress:*:*
CWE CWE-352
References (CONFIRM) https://wpscan.com/vulnerability/363182f1-9fda-4363-8f6a-be37c4c07aa9 - (CONFIRM) https://wpscan.com/vulnerability/363182f1-9fda-4363-8f6a-be37c4c07aa9 - Third Party Advisory
References (MISC) https://www.wordfence.com/blog/2021/02/unpatched-vulnerability-50000-wp-sites-must-find-alternative-for-contact-form-7-style/ - (MISC) https://www.wordfence.com/blog/2021/02/unpatched-vulnerability-50000-wp-sites-must-find-alternative-for-contact-form-7-style/ - Third Party Advisory

05 Apr 2021, 19:29

Type Values Removed Values Added
New CVE

Information

Published : 2021-04-05 19:15

Updated : 2023-12-10 13:55


NVD link : CVE-2021-24159

Mitre link : CVE-2021-24159

CVE.ORG link : CVE-2021-24159


JSON object : View

Products Affected

rocklobster

  • contact_form_7
CWE
CWE-352

Cross-Site Request Forgery (CSRF)