{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-9900","id":"CVE-2024-9900","title":"Cross-Site Scripting (XSS) in mudler/localai","description":"mudler/localai version v2.21.1 contains a Cross-Site Scripting (XSS) vulnerability in its search functionality. The vulnerability arises due to improper sanitization of user input, allowing the injection and execution of arbitrary JavaScript code. This can lead to the execution of malicious scripts in the context of the victim's browser, potentially compromising user sessions, stealing session coo","descriptionLong":"mudler/localai version v2.21.1 contains a Cross-Site Scripting (XSS) vulnerability in its search functionality. The vulnerability arises due to improper sanitization of user input, allowing the injection and execution of arbitrary JavaScript code. This can lead to the execution of malicious scripts in the context of the victim's browser, potentially compromising user sessions, stealing session cookies, redirecting users to malicious websites, or manipulating the DOM.","published":"2025-03-20T10:09:14.108Z","updated":"2026-10-28T02:30:55.747731250Z","reserved":"2024-10-12T01:08:56.712Z","status":"Modified","rejected":false,"assigner":"@huntr_ai","metric":{"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","rating":"medium","source":"NVD"},"metrics":[{"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","rating":"medium","source":"NVD"},{"version":"3.0","score":5.4,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","rating":"medium","source":"@huntr_ai"},{"version":"3.0","score":5.4,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","rating":"medium","source":"huntr.dev"},{"version":"3.0","score":5.4,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.0","score":5.4,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["mudler/localai"],"affectedProducts":[{"vendor":"mudler","product":"mudler/localai","defaultStatus":null,"versions":[{"version":"unspecified","lessThan":"2.22.0","status":"affected","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/mudler/LocalAI","purl":"pkg:golang/github.com/mudler/LocalAI","ranges":["<2.22.0","all versions"],"fixed":["2.22.0"],"advisory":"GHSA-w6hh-w36c-vxmw"}],"cwes":["CWE-79","CWE-115"],"aliases":["GHSA-w6hh-w36c-vxmw","GO-2025-3542"],"references":[{"url":"https://huntr.com/bounties/b39cd230-db66-471b-89b9-24afaa078e68","tags":["exploit","Exploit","Third Party Advisory","web"]},{"url":"https://github.com/mudler/localai/commit/a1634b219a4e52813e70ff07e6376a01449c4515","tags":["Patch","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/9xxx/CVE-2024-9900.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-9900","tags":["advisory"]},{"url":"https://github.com/mudler/LocalAI","tags":["package"]},{"url":"https://github.com/advisories/GHSA-w6hh-w36c-vxmw","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00536,"epssPercentile":0.4593,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-9900","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-9900","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-9900","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-w6hh-w36c-vxmw","ok":true,"note":"GHSA-w6hh-w36c-vxmw"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-9900","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}