Gmedia Photo Gallery <= 1.25.1 - Cross-Site Request Forgery to Arbitrary Gmedia Term Deletion via Module Preset Restore

Medium 5.4 CWE-352Fixed in 1.25.2
ID
WPSEC-2026-1042
Plugin
Gmedia Photo Gallery (grand-media)
Affected
all versions before 1.25.2
Remediation
Update to 1.25.2 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
Weakness
CWE-352
Usage
Plugin Medium · Affected versions Low among sites WPSec scans, 2026-10-15
Attack surface
Gmedia Photo Gallery on WPSec AttackSurface
Fix released
Published

Description

The Gmedia Photo Gallery plugin for WordPress is vulnerable to Cross-Site Request Forgery via the 'module_preset_restore_original' action of the Gmedia Galleries admin page in all versions up to, and including, 1.25.1, due to missing nonce validation and no check on the term the 'preset_default' parameter points to. This makes it possible for unauthenticated attackers to delete any Gmedia term (module presets, galleries, albums, categories or tags), together with its linked WordPress post, via a forged request. The attacker has to trick a site administrator, or another user granted the Gmedia gallery management capability, into performing an action such as clicking on a link.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON or Markdown · All advisories: JSON, RSS

License: CC BY 4.0