Skip to content

CVE-2024-48057 LocalAI Cross-site Scripting vulnerability

MediumCVSS 6.1 EPSS 0.21%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 1 fixed, 1 partially fixed.

PackageAffectedFixed inStatus
mudler github.com/mudler/LocalAI(Go) <= 2.20.1; All versions after 2.20.1 Partially fixed
mudler github.com/mudler/LocalAI <= 2.20.1 after 2.20.1 Fixed

Affected products

ProductAffected versionsFixed in
mudler github.com/mudler/LocalAI(Go) <= 2.20.1 No fix listed
mudler github.com/mudler/LocalAI(Go) All versions No fix listed
mudler github.com/mudler/LocalAI <= 2.20.1 No fix listed

References