CVE-2026-23976

7.1 HIGH

📋 TL;DR

This stored XSS vulnerability in the Modula Image Gallery WordPress plugin allows attackers to inject malicious scripts into web pages that persist in the database and execute when other users view affected pages. All WordPress sites using vulnerable versions of the plugin are affected, potentially compromising user sessions and site integrity.

💻 Affected Systems

Products:
  • Modula Image Gallery (modula-best-grid-gallery)
Versions: All versions up to and including 2.13.4
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with the vulnerable plugin activated. No special configuration needed for exploitation.

⚠️ Manual Verification Required

This CVE does not have specific version information in our database, so automatic vulnerability detection cannot determine if your system is affected.

Why? The CVE database entry doesn't specify which versions are vulnerable (no version ranges provided by the vendor/NVD).

🔒 Custom verification scripts are available for registered users. Sign up free to download automated test scripts.

Recommended Actions:
  1. Review the CVE details at NVD
  2. Check vendor security advisories for your specific version
  3. Test if the vulnerability is exploitable in your environment
  4. Consider updating to the latest version as a precaution

⚠️ Risk & Real-World Impact

🔴

Worst Case

Attackers could steal administrator credentials, take over the WordPress site, deface content, or redirect visitors to malicious sites, leading to complete site compromise and data theft.

🟠

Likely Case

Attackers inject malicious JavaScript to steal user session cookies, perform actions as authenticated users, or display phishing content to visitors.

🟢

If Mitigated

With proper input validation and output escaping, malicious scripts would be neutralized before execution, preventing exploitation.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: LIKELY
Unauthenticated Exploit: ✅ No
Complexity: LOW

Stored XSS vulnerabilities in WordPress plugins are commonly exploited. While no public PoC is confirmed, similar vulnerabilities are frequently weaponized.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 2.13.5 or later

Vendor Advisory: https://patchstack.com/database/Wordpress/Plugin/modula-best-grid-gallery/vulnerability/wordpress-modula-image-gallery-plugin-2-13-4-cross-site-scripting-xss-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find 'Modula Image Gallery' and click 'Update Now'. 4. Verify update to version 2.13.5 or higher.

🔧 Temporary Workarounds

Disable Plugin

all

Temporarily disable the vulnerable plugin until patched

wp plugin deactivate modula-best-grid-gallery

Content Security Policy

all

Implement CSP headers to restrict script execution

Add to .htaccess: Header set Content-Security-Policy "default-src 'self'; script-src 'self'"
Or implement via WordPress security plugin

🧯 If You Can't Patch

  • Implement web application firewall (WAF) rules to block XSS payloads
  • Restrict plugin access to trusted users only and monitor for suspicious activity

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin > Plugins > Installed Plugins for Modula Image Gallery version

Check Version:

wp plugin list --name=modula-best-grid-gallery --field=version

Verify Fix Applied:

Verify plugin version is 2.13.5 or higher in WordPress admin panel

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to plugin endpoints containing script tags or JavaScript
  • Multiple failed XSS attempts in web server logs

Network Indicators:

  • Inbound requests with XSS payload patterns to /wp-content/plugins/modula-best-grid-gallery/

SIEM Query:

source="web_server" AND (uri="*modula-best-grid-gallery*" AND (body="*<script>*" OR body="*javascript:*"))

🔗 References

📤 Share & Export