Files
CVEs-PoC/2021/CVE-2021-24378.md
T
2024-06-18 02:51:15 +02:00

20 lines
995 B
Markdown

### [CVE-2021-24378](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-24378)
![](https://img.shields.io/static/v1?label=Product&message=Autoptimize&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=2.7.8%3C%202.7.8%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-79%20Cross-site%20Scripting%20(XSS)&color=brighgreen)
### Description
The Autoptimize WordPress plugin before 2.7.8 does not check for malicious files such as .html in the archive uploaded via the 'Import Settings' feature. As a result, it is possible for a high privilege user to upload a malicious file containing JavaScript code inside an archive which will execute when a victim visits index.html inside the plugin directory.
### POC
#### Reference
- https://wpscan.com/vulnerability/375bd694-1a30-41af-bbd4-8a8ee54f0dbf
#### Github
- https://github.com/ARPSyndicate/cvemon
- https://github.com/afine-com/research
- https://github.com/afinepl/research