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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- gist.github.com third-party-advisory
- github.com vendor-advisory
- github.com product
- github.com
- rumbling-slice-eb0.notion.site exploit third-party-advisory