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

18 lines
1.0 KiB
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-24362](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-24362)
![](https://img.shields.io/static/v1?label=Product&message=Photo%20Gallery%20by%2010Web%20%E2%80%93%20Mobile-Friendly%20Image%20Gallery&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=1.5.75%3C%201.5.75%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-79%20Cross-site%20Scripting%20(XSS)&color=brighgreen)
### Description
The Photo Gallery by 10Web Mobile-Friendly Image Gallery WordPress plugin before 1.5.75 did not ensure that uploaded SVG files added to a gallery do not contain malicious content. As a result, users allowed to add images to gallery can upload an SVG file containing JavaScript code, which will be executed when accessing the image directly (ie in the /wp-content/uploads/photo-gallery/ folder), leading to a Cross-Site Scripting (XSS) issue
### POC
#### Reference
- https://wpscan.com/vulnerability/57823dcb-2149-47f7-aae2-d9f04dce851a
#### Github
No PoCs found on GitHub currently.