Contact Form 7 Style <= 3.1.9 - Cross-Site Request Forgery to Stored Cross-Site Scripting
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Tampering
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-352.
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Unknown | Contact Form 7 Style | 3.1.9 – 3.1.9 | — | No fix listed | CNA |
- Contact Form 7 Style VendorUnknown Affected 3.1.9 – 3.1.9 Fixed in — No fix listed CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:rocklobster:contact_form_7:*:*:*:*:*:wordpress:*:* | up to 3.1.9 | Vulnerable | rocklobsterinc |
- cpe:2.3:a:rocklobster:contact_form_7:*:*:*:*:*:wordpress:*:* Versions up to 3.1.9 Vulnerable ·rocklobsterinc
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2021-24159
- 2026-10-03 Alias added: GHSA-mw7f-7hv9-rrf6
References
More rocklobsterinc Contact Form 7 vulnerabilities
- TI-2020-18011 The contact-form-7 (aka Contact Form 7) plugin before 5.3.2 for WordPress allows… CVSS 3.1CRITICAL 10.0
- TI-2024-04377 Contact Form 7 < 5.9.5 - Unauthenticated Open Redirect CVSS 3.1MEDIUM 6.1
- TI-2018-14941 The contact-form-7 plugin before 5.0.4 for WordPress has privilege escalation because of… CVSS 3.0CRITICAL 9.8
- TI-2023-05917 Contact Form 7 <= 5.8.3 - Authenticated (Editor+) Arbitrary File Upload CVSS 3.1HIGH 7.2
- TI-2025-02844 Contact Form 7 <= 6.0.5 - Order Replay Vulnerability CVSS 3.1MEDIUM 5.3
- TI-2024-02081 Contact Form 7 <= 5.9 - Reflected Cross-Site Scripting CVSS 3.1MEDIUM 6.1
Sources
- CVE-2021-24159 · CVE Program
- CVE-2021-24159 · NVD
- FIRST EPSS
- GHSA-mw7f-7hv9-rrf6 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences