{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-48057","published":"2024-11-04T23:15:04.393000Z","last_modified":"2026-06-17T07:58:10.033000Z","status":"Analyzed","cvss":{"version":"3.1","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","primary":false},"auth":false,"cwes":["CWE-79","CWE-352"],"cpes":[{"criteria":"cpe:2.3:a:mudler:localai:*:*:*:*:*:*:*:*","part":"a","vendor":"mudler","product":"localai","version_end_including":"2.20.1"}],"cpes_truncated":false,"vendors":["mudler"],"products":["mudler/localai"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00305,"percentile":0.15729,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-ghx4-cgxw-7h9p","ecosystem":"Go","name":"github.com/mudler/LocalAI","purl":"pkg:golang/github.com/mudler/LocalAI","ranges":[{"introduced":"0","last_affected":"2.20.1"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2024-3253","ecosystem":"Go","name":"github.com/mudler/LocalAI","purl":"pkg:golang/github.com/mudler/LocalAI","ranges":[{"introduced":"0"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2024-48057/","html_en":"/en/cve/CVE-2024-48057/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-48057","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-48057"},"untrusted":{"vendor_name":"Mudler","product_name":"Localai","desc_en":"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.","affected":[{"untrusted_vendor":"mudler","untrusted_product":"localai","versions":[]}],"references":[{"url":"https://gist.github.com/AfterSnows/1bd7ee5a3a42dbb5f5ff67f7f9c8ccec","tags":["Third Party Advisory"]},{"url":"https://rumbling-slice-eb0.notion.site/LocalAI-deleted-model-with-storage-XSS-CSRF-vulnerability-in-mudler-localai-101e3cda9e8c80e0ac12fe418d5dd982?pvs=4","tags":["Exploit","Third Party Advisory"]}]}}