cve/2021/CVE-2021-24218.md

18 lines
866 B
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2021-24218](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-24218)
![](https://img.shields.io/static/v1?label=Product&message=Facebook%20for%20WordPress&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=3.0.0%3E%3D%203.0.0%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-352%20Cross-Site%20Request%20Forgery%20(CSRF)&color=brighgreen)
### Description
The wp_ajax_save_fbe_settings and wp_ajax_delete_fbe_settings AJAX actions of the Facebook for WordPress plugin before 3.0.4 were vulnerable to CSRF due to a lack of nonce protection. The settings in the saveFbeSettings function had no sanitization allowing for script tags to be saved.
### POC
#### Reference
- https://wpscan.com/vulnerability/169d21fc-d191-46ff-82e8-9ac887aed8a4
#### Github
No PoCs found on GitHub currently.