All reports
Critical

Gmedia Photo Gallery < 1.2.2 - Arbitrary File Upload

Affected versions

WordPressgrand-media
Affected versions
<1.2.2
Fixed version
1.2.2

Description

The Gmedia Photo Gallery plugin for WordPress is vulnerable to arbitrary file uploads due to missing file type validation via the addmedia.php file in versions before 1.2.2. This makes it possible for attackers to upload arbitrary files on the affected sites server which may make remote code execution possible.

Links

Credits

  • Claudio Viviani

Data rights and licenses

Wordfence

Copyright 2012-2026 Defiant Inc.

Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy.

License terms