CVE-2026-23733 Lobe Chat has Cross-Site Scripting (XSS) issue that may escalate to Remote Code Execution (RCE)

Medium 6.4 Published Updated

Attackers can execute arbitrary JavaScript via stored XSS in the Mermaid renderer, escalating to remote code execution through the Electron IPC bridge.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-23733?

CVE-2026-23733 is a medium-severity cross-site scripting vulnerability in lobehub lobe-chat, published on 18 Jan 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

LobeChat is an open source chat application platform. Prior to version 2.0.0-next.180, 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. Version 2.0.0-next.180 patches the issue.

Weakness: CWE-94

Which versions are affected by CVE-2026-23733?

2 open source packages ship an affected version, including @lobehub/chat.

PackageAffectedFixed in
@lobehub/chat npmAll versions to 1.143.2None
@lobehub/chat npmAll versions to 1.143.2None

How do I fix CVE-2026-23733?

No fix has been published for CVE-2026-23733 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-23733 being exploited?

There is no known exploitation of CVE-2026-23733 in the wild and no public exploit code.

Sources

Also known as GHSA-4gpc-rhpj-9443.

Is CVE-2026-23733 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free