Contact Form 7 Style <= 3.1.9 Cross-Site Request Forgery

Cross-Site Request Forgery (CSRF)
CVE CVE-2021-24159
CVSS High (8.8)
Publicly Published February 4, 2021
Last Updated January 22, 2024
Researcher Chloe Chamberland
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.

References

1 affected software package

Software Type Plugin
Software Slug contact-form-7-style (view on wordpress.org)
Patched? No
Affected Version
  • <= 3.1.9
Patched Version
This record contains material that is subject to copyright

Copyright 2012-2026 Defiant Inc.
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. License Detail.