CVEvulnerability
CVE-2021-24349
6.1 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2021-06-14
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 6.1 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CVSS 2.0 ([email protected])
- 4.3 MEDIUM — AV:N/AC:M/Au:N/C:N/I:P/A:N
- Weaknesses
- CWE-352, CWE-79
Description
This Gallery from files WordPress plugin through 1.6.0 gives the functionality of uploading images to the server. But filenames are not properly sanitized before being output in an error message when they have an invalid extension, leading to a reflected Cross-Site Scripting issue. Due to the lack of CSRF check, the attack could also be performed via such vector.
Affected configurations
• gallery from files project gallery from files (<= 1.6.0)
Related
References
- https://wpscan.com/vulnerability/6bb4eb71-d702-4732-b01f-b723077d66ca Exploit, Third Party Advisory
- https://wpscan.com/vulnerability/6bb4eb71-d702-4732-b01f-b723077d66ca Exploit, Third Party Advisory