CVE-2024-48057: mudler localai Cross-site Scripting
CVSS: 6.1v3.1MediumAnalyzed
AliasesGHSA-ghx4-cgxw-7h9pGO-2024-3253
Published 04-11-2024Last modified 05-11-2024
Vulnerability summary
CVE-2024-48057 is a medium (CVSS 6.1) Cross-site Scripting vulnerability in mudler localai. EPSS estimates a 0.24% chance of exploitation in the next 30 days, higher than 13.5% of scored vulnerabilities. 1 public exploit is recorded.
CVSS score
6.1/10
010
Medium · v3.1 (CVE.org)EPSS score
0.24%
0%100%
Low · -0.01 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1reference
Advisory lineage
Upstream 0 · Downstream 2 · Duplicates 1 · Related 2Timeline
- 04-11-2024PublishedVulnerability first disclosed.
- 05-11-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
4 scores · 3 sources · 2 versionsMedium 5.3Preferred score · OSV · Go (Ecosystem advisory) · calculated from vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:PSourcesSingle source
Medium 6.1Preferred score · CVE.org (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NSourcesAll 3 agree
- OSV · GoEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- NVDNIST6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS trend
Probability
0.24%
Chance of exploitation in the next 30 days
Percentile
14%
Versus all other CVEs
30-day change
-0.01 pp
From 0.24% on 21-09-2026
21-09-202621-10-2026
EPSS score0.24%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (rumbling-slice-eb0.notion.site)
Maturity: unknown
Weaknesses
CWE · root cause- CWE-79Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
- CWE-352Cross-Site Request Forgery (CSRF)The web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor.
Affected systems
Github.com/mudler1 product
- LocalAI≤ 2.20.1 | All versions (No fix recorded)
Mudler1 product
- localai≤ 2.20.1
2 vendors · 2 products
References
7 links- github.com/mudler/LocalAIPACKAGE