CVE-2021-24159
Contact Form 7 Style <= 3.1.9 - Cross-Site Request Forgery to Stored Cross-Site Scripting
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.593% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T20:18:55.078Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 8.8 · published by [email protected]CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Assessment source · checked 2026-11-19T19:01:51.756Z
CVSS 2.0 · 6.8 · published by [email protected]AV:N/AC:M/Au:N/C:P/I:P/A:P
Assessment source · checked 2026-11-19T19:01:51.756Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T20:18:55.078Z | CISA KEV |
| cvss | verified | 2026-11-19T19:01:51.756Z | NVD |
| epss | verified | 2026-11-19T20:07:50.268Z | FIRST EPSS |
| patches | unknown | unknown | unknown |
| affected | verified | 2026-11-19T19:04:42.831Z | CVE Program |
| lifecycle | verified | 2026-11-19T19:04:42.831Z | CVE Program |
Affected versions and configuration
Unknown Contact Form 7 Style; default status: unknown: 3.1.9 to ≤ 3.1.9 [affected; scheme: custom]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "Unknown",
"product": "Contact Form 7 Style",
"versions": [
{
"status": "affected",
"version": "3.1.9",
"versionType": "custom",
"lessThanOrEqual": "3.1.9"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "https://wpscan.com/vulnerability/363182f1-9fda-4363-8f6a-be37c4c07aa9",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
]
},
{
"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"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-03T19:21:18.633Z"
}
}
]
}Archived source JSONNVD · nvd-cpe · full conditions
[
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:rocklobster:contact_form_7:*:*:*:*:*:wordpress:*:*",
"vulnerable": true,
"matchCriteriaId": "91CBDF13-18DC-4BAE-A5B2-C60DECC2C62A",
"versionEndIncluding": "3.1.9"
}
],
"operator": "OR"
}
]
}
]Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
No correction has been verified in the connected records. This does not mean the system is secure or that no vendor correction exists.
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CVE ProgramConsulted: 2026-11-19T19:04:42.831ZArchived source JSON
Source publication: 2021-04-05T18:27:43.000Z
Source modification: 2024-08-03T19:21:18.633ZDocument fingerprint
023e4aeb5c08ef009b33bebb10e2bbbacc51b0530679e0c0f1338dc9c7c34cec - FIRST EPSSConsulted: 2026-11-19T20:07:50.268ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
0e36970714601370c01f53e40532916c1b71d8f5d7d73743415b9c2dcfab8f6b - CISA KEVConsulted: 2026-11-19T20:18:55.078ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - NVDConsulted: 2026-11-19T19:01:51.756ZArchived source JSON
Source publication: 2021-04-05T19:15:15.047Z
Source modification: 2026-06-17T03:39:29.670ZDocument fingerprint
841559bf3b94de81602407d9e18929aaf9b0ea2a8c4f9a27ff36f392ddd8728f
Official status history
- UNKNOWN → PUBLISHED · · evidence