8.8high
Contact Form 7 Style <= 3.1.9 - Cross-Site Request Forgery to Stored Cross-Site Scripting
- Severity
- 8.8high CVSS:3.1 by NVD
- Exploit likelihood
- 0.59% (higher than 49% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- WPScan
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unknown Contact Form 7 Style | from 3.1.9 up to 3.1.9 | CVE List |
| rocklobster contact_form_7 | up to 3.1.9 | NVD |
All scores
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 6.8medium CVSS:2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
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.
NVD (es)
Debido a la falta de saneamiento y una falta de protección nonce en la funcionalidad CSS personalizada, un atacante podría diseñar una petición para inyectar JavaScript malicioso en un sitio usando el plugin de WordPress Contact Form 7 Style versiones hasta 3.1.9. Si un atacante engañaba con éxito al administrador de un sitio para que hiciera clic en un enlace o archivo adjunto, la petición podría ser enviada y la configuración de CSS se actualizaría con éxito para incluir JavaScript malicioso
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-24159 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-24159 changed 2026-06-17 | Public domain |