CVE-2021-24349: This Gallery from files WordPress plugin through 1.6.0 gives the functionality of uploading images to the serv
CVE-2021-24349 is a medium-severity flaw (CVSS 6.1) affecting gallery from files. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Public exploit reference
A fixed release or distro patch exists.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-24349?
gallery from files: upgrade to newer than 1.6.0. Exact commands for each OS are on this page.
Is CVE-2021-24349 being exploited?
CVE-2021-24349 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-24349 affect?
CVE-2021-24349 affects gallery from files. Severity is medium (CVSS 6.1). 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
How urgent is CVE-2021-24349?
Priority 35/100. Public exploit reference