cve/2021/CVE-2021-25117.md

19 lines
1.0 KiB
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2021-25117](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-25117)
![](https://img.shields.io/static/v1?label=Product&message=WP-PostRatings&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=0%3C%201.86.1%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-352%20Cross-Site%20Request%20Forgery%20(CSRF)&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-79%20Cross-Site%20Scripting%20(XSS)&color=brighgreen)
### Description
The WP-PostRatings WordPress plugin before 1.86.1 does not sanitise the postratings_image parameter from its options page (wp-admin/admin.php?page=wp-postratings/postratings-options.php). Even though the page is only accessible to administrators, and protected against CSRF attacks, the issue is still exploitable when the unfiltered_html capability is disabled.
### POC
#### Reference
- https://wpscan.com/vulnerability/d2d9a789-edae-4ae1-92af-e6132db7efcd/
#### Github
No PoCs found on GitHub currently.