GitHub Advisoryadvisory · Go

GHSA-ghx4-cgxw-7h9p LocalAI Cross-site Scripting vulnerability

LOW Published 2024-11-05 Modified 2025-03-20 Official page ↗
Aliases
CVE-2024-48057
Ecosystem
Go
Packages
github.com/mudler/LocalAI
Severity
Low
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weaknesses
CWE-352, CWE-79
Reviewed
2024-11-05

Affected packages

• Go github.com/mudler/LocalAI: <= 2.20.1 (no fix yet)

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.

Related

Alias · CVE (1)

  • CVE-2024-48057 localai <=2.20.1 is vulnerable to Cross Site Scripting (XSS). vulnerability

Weakness · CWE (2)

  • CWE-352 Cross-Site Request Forgery weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References