Vulnerabilities/

Lobe Chat affected by Cross-Site Scripting(XSS) that can escalate to Remote Code Execution(RCE)

Severity:
Medium

Description

A stored Cross-Site Scripting (XSS) vulnerability in the Mermaid artifact renderer allows attackers to execute arbitrary JavaScript within the application context. This XSS can be escalated to Remote Code Execution (RCE) by leveraging the exposed electronAPI IPC bridge, allowing attackers to run arbitrary system commands on the victim’s machine.

Recommendation

No fix is available yet. Followings are affected versions:

References

Related Issues

Tags:
npm
@lobehub/chat
Anything's wrong? Let us know Last updated on January 20, 2026