Vulnerability · Published Nov 4, 2024 · Assigned by mitre

CVE-2024-48057

Medium 6.1

In plain English

A medium-severity cross-site scripting in the github.com/mudler/LocalAI package (Go). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 14% of all known vulnerabilities).

Severity (CVSS 3.1)6.1Medium
Exploit odds (30 days)0.2%top 85.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/mudler/LocalAIno fix listedGHSA-ghx4-cgxw-7h9p
Gogithub.com/mudler/LocalAIno fix listedGO-2024-3253

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-79, CWE-352 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

References