PT-2026-69478 · Lobehub · Lobe Chat
CVSS v3.1
7.6
High
| Vector | AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
lobehub/lobe-chat versions prior to 2.2.14
Description
A stored cross-site scripting (XSS) issue exists where a low-privileged authenticated user can inject arbitrary JavaScript into the application. This occurs because the avatar upload handler determines the stored file extension and S3 content type based on the original filename instead of inspecting the actual file content. An attacker can upload a crafted SVG file as a user avatar containing a script element, which then executes in the browser of any user who views the attacker's profile or avatar.
Recommendations
Update lobehub/lobe-chat to version 2.2.14 or later.
Exploit
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Lobe Chat