Files
CVEs-PoC/2021/CVE-2021-24159.md
T
2025-09-29 21:09:30 +02:00

18 lines
1017 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
### [CVE-2021-24159](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-24159)
![](https://img.shields.io/static/v1?label=Product&message=Contact%20Form%207%20Style&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=3.1.9%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-352%20Cross-Site%20Request%20Forgery%20(CSRF)&color=brightgreen)
### 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 sites 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.
### POC
#### Reference
- https://wpscan.com/vulnerability/363182f1-9fda-4363-8f6a-be37c4c07aa9
#### Github
- https://github.com/20142995/nuclei-templates