Advisory

GHSA-ghx4-cgxw-7h9p

Also known as: CVE-2024-48057, GO-2024-3253

Summary

LocalAI Cross-site Scripting vulnerability

Details

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.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2024-11-05 00:31 UTC
Modified
2025-03-20 23:22 UTC

Affected packages and fixes

github.com/mudler/LocalAI

Go · All systems

Affected

  • introduced 0, last affected 2.20.1 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences