CVE-2025-50733 – NextChat AI Chat Interface Cross-Site Scripting (XSS)

The following table lists the changes that have been made to the
CVE-2025-50733 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution
of a vulnerability, and for identifying the most recent changes that may
impact the vulnerability’s severity, exploitability, or other characteristics.

  • New CVE Received
    by [email protected]

    Aug. 22, 2025

    Action Type Old Value New Value
    Added Description NextChat contains a cross-site scripting (XSS) vulnerability in the HTMLPreview component of artifacts.tsx that allows attackers to execute arbitrary JavaScript code when HTML content is rendered in the AI chat interface. The vulnerability occurs because user-influenced HTML from AI responses is rendered in an iframe with ‘allow-scripts’ sandbox permission without proper sanitization. This can be exploited through specifically crafted prompts that cause the AI to generate malicious HTML/JavaScript code. When a user views the HTML preview, the injected JavaScript executes in the user’s browser context, potentially allowing attackers to exfiltrate sensitive information (including API keys stored in localStorage), perform actions on behalf of the user, and steal session data.
    Added Reference https://github.com/fai1424/Vulnerability-Research/blob/main/CVE-2025-50733/README.md
    Added Reference https://hackmd.io/@fai1424/BkgqMnNxgl
Share the Post:

Related Posts