Description
A stored cross-site scripting (XSS) vulnerability in lobehub/lobe-chat through v2.2.13 allows a low-privileged authenticated user to inject arbitrary JavaScript into the application by uploading a crafted SVG file as a user avatar.
Published: 2026-08-10
Score: 7.6 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The updated CVE description confirms a stored cross‑site scripting flaw in lobehub lobe‑chat up to version 2.2.13. A low‑privileged authenticated user can upload a crafted SVG file as an avatar. The upload handler trusts the file extension and MIME type from the original filename, allowing a malicious <script> element to be embedded within the SVG. When a victim user loads the avatar, the embedded script runs in the victim’s browser, potentially enabling session hijacking, credential theft, or defacement of the user’s view.

Affected Systems

The vulnerability impacts lobehub lobe‑chat versions up to and including 2.2.13. All users who can upload avatar images are subject to attack. The bug is present in all deployments of those releases, regardless of environment or configuration, unless the avatar upload functionality has been disabled or secured by custom modifications.

Risk and Exploitability

The CVSS base score of 7.6 classifies this vulnerability as high severity. No EPSS score is reported, and the issue is not currently listed in the CISA KEV catalog. The attack vector requires only that an attacker be authenticated and have the ability upload a profile avatar, a capability commonly granted to all users. Exploitation is straightforward: the attacker creates a malicious SVG, uploads it, and waits for victims to view the avatar, at which point the payload executes. Given the ubiquity of avatar uploads, the risk remains significant for any deployed instance of the affected software.

Generated by OpenCVE AI on August 10, 2026 at 19:48 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Configure the application to reject SVG files or any files containing embedded <script> tags during avatar upload
  • Implement strict server‑side MIME type validation and enforce only safe image formats such as PNG or JPEG
  • Deploy a Content Security Policy that blocks inline scripts from avatar images to provide an additional defense

Generated by OpenCVE AI on August 10, 2026 at 19:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

References
History

Mon, 10 Aug 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 10 Aug 2026 13:00:00 +0000

Type Values Removed Values Added
First Time appeared Lobehub
Lobehub lobe Chat
Vendors & Products Lobehub
Lobehub lobe Chat

Mon, 10 Aug 2026 12:00:00 +0000

Type Values Removed Values Added
Description A stored cross-site scripting (XSS) vulnerability in lobehub/lobe-chat through v2.2.13 allows a low-privileged authenticated user to inject arbitrary JavaScript into the application by uploading a crafted SVG file as a user avatar. The avatar upload handler derives the stored file extension and S3 content type from the original filename rather than inspecting file content, enabling an attacker to store an SVG containing a script element that executes in the browser of any user who views the attacker's profile or avatar. A stored cross-site scripting (XSS) vulnerability in lobehub/lobe-chat through v2.2.13 allows a low-privileged authenticated user to inject arbitrary JavaScript into the application by uploading a crafted SVG file as a user avatar.

Mon, 10 Aug 2026 11:00:00 +0000

Type Values Removed Values Added
Description A stored cross-site scripting (XSS) vulnerability in lobehub/lobe-chat through v2.2.13 allows a low-privileged authenticated user to inject arbitrary JavaScript into the application by uploading a crafted SVG file as a user avatar. The avatar upload handler derives the stored file extension and S3 content type from the original filename rather than inspecting file content, enabling an attacker to store an SVG containing a script element that executes in the browser of any user who views the attacker's profile or avatar.
Title lobehub lobe-chat - Stored Cross-Site Scripting via Unrestricted SVG Avatar Upload
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 7.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N'}


Subscriptions

Lobehub Lobe Chat
cve-icon MITRE

Status: PUBLISHED

Assigner: TuranSec

Published:

Updated: 2026-08-10T13:26:05.281Z

Reserved: 2026-08-10T10:32:53.855Z

Link: CVE-2026-72594

cve-icon Vulnrichment

Updated: 2026-08-10T13:26:00.918Z

cve-icon NVD

Status : Deferred

Published: 2026-08-10T11:17:32.610

Modified: 2026-08-28T18:51:39.823

Link: CVE-2026-72594

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-10T20:00:03Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')