Skip to content

CVE-2026-121976 Modula Image Gallery <= 3.0.17 - Authenticated (Author+) Stored Cross-Site Scripting via 'items' Parameter

MediumCVSS 6.4 EPSS 0.32%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
WordPress

Description

The Modula plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'items' parameter in versions up to, and including, 3.0.17 This is due to insufficient input sanitization of the per-image 'link' field in the save_merged_items() REST handler and Images\Adapter::normalize_item_row(), which preserves unknown keys verbatim, combined with output escaping in Modula_Helper::generate_attributes() that applies only esc_attr() to the resulting anchor href and does not strip the 'javascript:' URL scheme. This makes it possible for authenticated attackers, with Author-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page and clicks the gallery tile.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
wordpress modula-best-grid-gallery(WordPress) < 3.0.18 3.0.18 Fixed
wpchill Modula Image Gallery – Photo Grid & Video Gallery <= 3.0.17 after 3.0.17 Fixed

Affected products

ProductAffected versionsFixed in
wpchill Modula Image Gallery – Photo Grid & Video Gallery <= 3.0.17 No fix listed
wordpress modula-best-grid-gallery(WordPress) < 3.0.18 3.0.18

References