CVE-2026-121976
mediumThe 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…
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.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://plugins.trac.wordpress.org/browser/modula-best-grid-gallery/ security@wordfence.com
- https://plugins.trac.wordpress.org/browser/modula-best-grid-gallery/tags/3.0.17/includes/c... security@wordfence.com
- https://plugins.trac.wordpress.org/browser/modula-best-grid-gallery/tags/3.0.17/includes/p... security@wordfence.com
- https://plugins.trac.wordpress.org/browser/modula-best-grid-gallery/tags/3.0.17/includes/v... security@wordfence.com
- https://plugins.trac.wordpress.org/browser/modula-best-grid-gallery/tags/3.0.17/includes/v... security@wordfence.com
- https://plugins.trac.wordpress.org/browser/modula-best-grid-gallery/tags/3.0.17/includes/v... security@wordfence.com
- https://plugins.trac.wordpress.org/changeset?reponame=&new=3787971%40modula-best-grid-gall... security@wordfence.com
- https://www.wordfence.com/threat-intel/vulnerabilities/id/91d3cbc2-00ca-4384-a52d-84fe2f03... security@wordfence.com

