{"id":"CVE-2024-48057","aliases":["EUVD-2024-3254","GHSA-ghx4-cgxw-7h9p","GO-2024-3253","SUSE-SU-2024:4042-1","openSUSE-SU-2024:14470-1"],"status":"published","title":"LocalAI Cross-site Scripting vulnerability","description":"localai \u003c=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":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-10","score":0.00235,"percentile":0.14498,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-352","CWE-79"],"published":"2024-11-04T00:00:00Z","modified":"2026-10-28T02:30:53Z","affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/mudler/LocalAI","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"2.20.1"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/mudler/LocalAI","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"2.20.1"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/mudler/LocalAI","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Package Hub 15 SP5","package":"govulncheck-vulndb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0.20241112T145010-150000.1.17.1"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Package Hub 15 SP6","package":"govulncheck-vulndb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0.20241112T145010-150000.1.17.1"}]}],"bundled":7},{"source":"osv","ecosystem":"openSUSE:Leap 15.5","package":"govulncheck-vulndb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0.20241112T145010-150000.1.17.1"}]}],"bundled":7},{"source":"osv","ecosystem":"openSUSE:Leap 15.6","package":"govulncheck-vulndb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0.20241112T145010-150000.1.17.1"}]}],"bundled":7},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"govulncheck-vulndb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0.20241106T172143-1.1"}]}],"bundled":4}],"products":[{"vendor":"mudler","product":"localai"}],"references":[{"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","web"]},{"url":"https://gist.github.com/AfterSnows/1bd7ee5a3a42dbb5f5ff67f7f9c8ccec","tags":["Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-48057","tags":["advisory"]},{"url":"https://github.com/mudler/LocalAI/blob/master/core/http/views/index.html#L75","tags":["web"]},{"url":"https://github.com/advisories/GHSA-ghx4-cgxw-7h9p","tags":["advisory"]},{"url":"https://github.com/mudler/localai/commit/a1634b219a4e52813e70ff07e6376a01449c4515","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/48xxx/CVE-2024-48057.json","tags":["advisory"]},{"url":"https://github.com/mudler/LocalAI","tags":["package"]},{"url":"https://www.suse.com/support/update/announcement/2024/suse-su-20244042-1/","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2024-10389","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-10975","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-45794","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-48057","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-51735","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-51744","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-51746","tags":["web"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/OX53GMPD3MLNI5INQF5WZ3M4WW7BFHZC/","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2024-48057","description":"localai \u003c=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.","status":"published","published":"2024-11-04T00:00:00Z","modified":"2024-11-05T17:28:51.57Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"adp"}],"cwes":["CWE-79","CWE-352"],"updated_at":"2026-11-02T14:34:11.97482Z"}],"euvd":[{"id":"EUVD-2024-3254","description":"localai \u003c=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.","status":"published","published":"2024-11-04T00:00:00Z","modified":"2024-11-05T17:28:51Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-03T00:05:10.907442Z"}],"ghsa":[{"id":"GHSA-ghx4-cgxw-7h9p","title":"LocalAI Cross-site Scripting vulnerability","description":"localai \u003c=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.","status":"published","published":"2024-11-05T00:31:28Z","modified":"2025-03-20T23:22:38Z","cvss":[{"version":"4.0","score":2.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P","level":"low"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79","CWE-352"],"updated_at":"2026-11-02T14:38:35.74197Z"}],"nvd":[{"id":"CVE-2024-48057","description":"localai \u003c=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.","status":"published","published":"2024-11-04T23:15:04.393Z","modified":"2026-06-17T07:58:10.033Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-79","CWE-352"],"updated_at":"2026-11-02T14:10:35.864552Z"}],"osv":[{"id":"CVE-2024-48057","description":"localai \u003c=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.","status":"published","published":"2024-11-04T00:00:00Z","modified":"2026-10-28T02:30:53.875417989Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:43.253252Z"},{"id":"GHSA-ghx4-cgxw-7h9p","title":"LocalAI Cross-site Scripting vulnerability","description":"localai \u003c=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.","status":"published","published":"2024-11-05T00:31:28Z","modified":"2025-03-20T23:22:35Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"},{"version":"4.0","score":2.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P","level":"low"}],"cwes":["CWE-352","CWE-79"],"updated_at":"2026-11-02T15:46:47.822182Z"},{"id":"GO-2024-3253","title":"LocalAI Cross-site Scripting vulnerability in github.com/mudler/LocalAI","description":"LocalAI Cross-site Scripting vulnerability in github.com/mudler/LocalAI","status":"published","published":"2024-11-06T17:21:43Z","modified":"2026-03-03T04:56:00.109784Z","updated_at":"2026-11-02T15:47:01.453823Z"},{"id":"openSUSE-SU-2024:14470-1","title":"govulncheck-vulndb-0.0.20241106T172143-1.1 on GA media","description":"These are all security issues fixed in the govulncheck-vulndb-0.0.20241106T172143-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-11-07T00:00:00Z","modified":"2026-02-04T02:36:04.785647Z","updated_at":"2026-11-02T16:58:36.976155Z"},{"id":"SUSE-SU-2024:4042-1","title":"Security update for govulncheck-vulndb","description":"This update for govulncheck-vulndb fixes the following issues:\n\n- Update to version 0.0.20241112T145010 2024-11-12T14:50:10Z.\n  Refs jsc#PED-11136\n  Go CVE Numbering Authority IDs added or updated with aliases:\n  * GO-2024-3250 CVE-2024-51744 GHSA-29wx-vh33-7x7r\n\n- Update to version 0.0.20241108T172500 2024-11-08T17:25:00Z.\n  Refs jsc#PED-11136\n  Go CVE Numbering Authority IDs added or updated with aliases:\n  * GO-2024-3260 CVE-2024-45794 GHSA-q78v-cv36-8fxj\n  * GO-2024-3262 CVE-2024-10975 GHSA-2w5v-x29g-jw7j\n\n- Update to version 0.0.20241106T172143 2024-11-06T17:21:43Z.\n  Refs jsc#PED-11136\n  Go CVE Numbering Authority IDs added or updated with aliases:\n  * GO-2024-3251 CVE-2024-10389 GHSA-q3rp-vvm7-j8jg\n  * GO-2024-3252 CVE-2024-51746 GHSA-8pmp-678w-c8xx\n  * GO-2024-3253 CVE-2024-48057 GHSA-ghx4-cgxw-7h9p\n  * GO-2024-3254 CVE-2024-51735 GHSA-wvv7-wm5v-w2gv\n","status":"published","published":"2024-11-22T10:44:11Z","modified":"2026-02-04T19:52:46.813701Z","updated_at":"2026-11-02T15:53:55.639015Z"}]}}
