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

19 lines
987 B
Markdown

### [CVE-2021-24595](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-24595)
![](https://img.shields.io/static/v1?label=Product&message=Wp%20Cookie%20Choice&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=1.1.0%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-352%20Cross-Site%20Request%20Forgery%20(CSRF)&color=brightgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-79%20Cross-site%20Scripting%20(XSS)&color=brightgreen)
### Description
The Wp Cookie Choice WordPress plugin through 1.1.0 is lacking any CSRF check when saving its options, and do not escape them when outputting them in attributes. As a result, an attacker could make a logged in admin change them to arbitrary values including XSS payloads via a CSRF attack.
### POC
#### Reference
- https://wpscan.com/vulnerability/c809bdb3-d820-4ce1-9cbc-e41985fb5052
#### Github
- https://github.com/20142995/nuclei-templates