CVE-2026-121976
The Modula plugin for WordPress is vulnerable to Stored Cross-Site …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- plugins.trac.wordpress.org/browser/modula-best-grid-gallery/
- plugins.trac.wordpress.org/browser/modula-best-grid-gallery/tags/3.0.17/includes/core/help
- plugins.trac.wordpress.org/browser/modula-best-grid-gallery/tags/3.0.17/includes/public/sh
- plugins.trac.wordpress.org/browser/modula-best-grid-gallery/tags/3.0.17/includes/v2/class-
- plugins.trac.wordpress.org/browser/modula-best-grid-gallery/tags/3.0.17/includes/v2/images
- plugins.trac.wordpress.org/browser/modula-best-grid-gallery/tags/3.0.17/includes/v2/rest/c
- plugins.trac.wordpress.org/changeset?reponame=&new=3787971%40modula-best-grid-gallery%2Fta
- www.wordfence.com/threat-intel/vulnerabilities/id/91d3cbc2-00ca-4384-a52d-84fe2f0328b3?sou
- nvd.nist.gov/vuln/detail/CVE-2026-121976
- cve.org/CVERecord?id=CVE-2026-121976
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.