# CVE-2026-72594: LobeChat stored XSS in user avatar upload

Source: https://junglewise.ai/threats/cve-2026-72594-lobechat-stored-xss-in-user-avatar-upload  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-08-10. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2026-72594 · Severity: high · CVSS 7.6 · Published 2026-08-10

LobeChat is an AI agent management and scheduling platform. A flaw in avatar upload handling allows authenticated users to inject malicious JavaScript code via SVG files, which executes when other users view the attacker's profile. This could lead to session hijacking, credential theft, or unauthorized actions taken on behalf of victims.

Technologies: [LobeHub LobeChat](https://junglewise.ai/threats/technologies/lobechat). Vendors: [LobeHub](https://junglewise.ai/threats/vendors/lobehub).

## Quick answers

**Is CVE-2026-72594 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-72594 being exploited in the wild.

**How severe is CVE-2026-72594?** High severity, with a CVSS score of 7.6, published 10 August 2026.

**Which products and versions are affected?** LobeHub LobeChat through v2.2.13.

**Is there a fix for CVE-2026-72594?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-72594 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2026-72594?** Check whether you run LobeHub LobeChat at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A stored cross-site scripting (XSS) vulnerability exists in LobeChat through v2.2.13 in the user avatar upload functionality. An authenticated attacker can craft a malicious SVG file containing embedded JavaScript and upload it as their profile avatar. The vulnerability stems from insufficient input validation and output encoding of user-supplied SVG content. When other users view the attacker's profile or avatar, the stored malicious script executes in their browser within the application context, potentially allowing session hijacking, credential theft, or unauthorized actions. The vulnerability requires an authenticated user and user interaction (viewing the profile/avatar), but does not require elevated privileges.

## Affected products

- LobeHub LobeChat through v2.2.13

## Timeline

- 2026-08-10: disclosed

## References

- [https://github.com/lobehub/lobe-chat](https://github.com/lobehub/lobe-chat)

## Related threats

- [LobeHub LobeChat webhook signature verification bypass](https://junglewise.ai/threats/cve-2026-85621-lobehub-lobechat-webhook-signature-verification-bypass)
- [LobeHub LobeChat broken object level authorization in chat-group agents](https://junglewise.ai/threats/cve-2026-59100-lobehub-lobechat-broken-object-level-authorization-in-chat-group)
- [LobeHub LobeChat broken access control in RAG semantic search](https://junglewise.ai/threats/cve-2026-59098-lobehub-lobechat-broken-access-control-in-rag-semantic-search)
- [LobeHub LobeChat SSRF in skill import and topic cover endpoints](https://junglewise.ai/threats/cve-2026-59095-lobehub-lobechat-ssrf-in-skill-import-and-topic-cover-endpoints)
- [LobeHub LobeChat broken object-level authorization in MessageModel](https://junglewise.ai/threats/cve-2026-58580-lobehub-lobechat-broken-object-level-authorization-in)
