localai <=2.20.1 is vulnerable to Cross Site Scripting (XSS). When calling the delete model API and passing inappropriate parameters, it can cause a one-time storage XSS, which will trigger the payload when a user accesses the homepage.
References
Link | Resource |
---|---|
https://gist.github.com/AfterSnows/1bd7ee5a3a42dbb5f5ff67f7f9c8ccec | Third Party Advisory |
https://rumbling-slice-eb0.notion.site/LocalAI-deleted-model-with-storage-XSS-CSRF-vulnerability-in-mudler-localai-101e3cda9e8c80e0ac12fe418d5dd982?pvs=4 | Exploit Third Party Advisory |
Configurations
History
04 Sep 2025, 16:15
Type | Values Removed | Values Added |
---|---|---|
CPE | cpe:2.3:a:mudler:localai:*:*:*:*:*:*:*:* | |
First Time |
Mudler
Mudler localai |
|
References | () https://gist.github.com/AfterSnows/1bd7ee5a3a42dbb5f5ff67f7f9c8ccec - Third Party Advisory | |
References | () https://rumbling-slice-eb0.notion.site/LocalAI-deleted-model-with-storage-XSS-CSRF-vulnerability-in-mudler-localai-101e3cda9e8c80e0ac12fe418d5dd982?pvs=4 - Exploit, Third Party Advisory |
05 Nov 2024, 18:35
Type | Values Removed | Values Added |
---|---|---|
CWE | CWE-352 CWE-79 |
|
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 6.1 |
05 Nov 2024, 16:04
Type | Values Removed | Values Added |
---|---|---|
Summary |
|
04 Nov 2024, 23:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2024-11-04 23:15
Updated : 2025-09-04 16:15
NVD link : CVE-2024-48057
Mitre link : CVE-2024-48057
CVE.ORG link : CVE-2024-48057
JSON object : View
Products Affected
mudler
- localai