Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Mudler | Localai | <= 2.20.1 |
Related Weaknesses (CWE)
References
- https://gist.github.com/AfterSnows/1bd7ee5a3a42dbb5f5ff67f7f9c8ccecThird Party Advisory
- https://rumbling-slice-eb0.notion.site/LocalAI-deleted-model-with-storage-XSS-CSExploitThird Party Advisory
FAQ
What is CVE-2024-48057?
CVE-2024-48057 is a vulnerability with a CVSS score of 6.1 (MEDIUM). 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 payloa...
How severe is CVE-2024-48057?
CVE-2024-48057 has been rated MEDIUM with a CVSS base score of 6.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-48057?
Check the references section above for vendor advisories and patch information. Affected products include: Mudler Localai.