LocalAI Cross-site Scripting vulnerability
CVE-2024-48057 · GHSA-ghx4-cgxw-7h9p · published 2024-11-05 · updated 2025-03-20
- Severity
- Low
- CVSS score
- 6.1
- Chance of exploitation (EPSS)
- 0.21%
- Fixed in
- No fix yet
- Exploitation Public proof of concept
- Automatable No
- Technical impact Partial
- CISA SSVC
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.
No fixed release is listed yet for github.com/mudler/LocalAI. Limit what it can reach, or stop using it until a fix ships, and follow the source advisory for updates.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| github.com/mudler/LocalAI | Go | <= 2.20.1 | No fix yet |
- CriticalMLflow: Unauthenticated full-read SSRF in webhook delivery: _validate_webhook_url bypassed via unvalidated HTTP redirects (and DNS rebindingmlflowExploited
- Critical@zereight/mcp-gitlab Vulnerable to Server-Side Request Forgery@zereight/mcp-gitlab
- CriticalSSRF + LLM API key exfiltration via user-controlled basepath / baseUrl in 8 chat-model nodesflowise, flowise-components
- CriticalFastMCP OpenAPI Provider has an SSRF & Path Traversal Vulnerabilityfastmcp
- CriticalBentoML SSRF Vulnerability in File Upload Processingbentoml
- Criticallobe-chat `/api/proxy` endpoint Server-Side Request Forgery vulnerability@lobehub/chat
- CriticalLocalAI POST /models/apply permits unauthenticated server-side request forgery through gallery URLsgithub.com/mudler/LocalAI
- MediumLocalAI Cross-Site Scripting (XSS) vulnerability in its search functionalitygithub.com/mudler/LocalAI
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.