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.
Conclusion & alert: CVE-2021-24159 is rated Moderate Risk (50.9/100): CVSS High severity, with low exploitation likelihood (EPSS 0.59%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.11% | 0.59% | +0.48% |
| 2 | 2025-03-30 | 2.69% | 0.11% | -2.58% |
| 3 | 2025-03-29 | — | 2.69% | — |
Full EPSS history (10 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 8.8 | 3.1 | HIGH |
|
2.8 | 5.9 | [email protected] |
| 6.8 | 2.0 | MEDIUM |
|
8.6 | 6.4 | [email protected] |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| rocklobster | contact_form_7 | <= 3.1.9 | cpe:2.3:a:rocklobster:contact_form_7:*:*:*:*:*:wordpress:*:* |
| URL | Tags |
|---|---|
| https://wpscan.com/vulnerability/363182f1-9fda-4363-8f6a-be37c4c07aa9 | Third Party Advisory |
| https://www.wordfence.com/blog/2021/02/unpatched-vulnerability-50000-wp-sites-must-find-alternative-for-contact-form-7-style/ | Third Party Advisory |