# CVE-2024-48057: GO-2024-3253 - LocalAI Cross-site Scripting vulnerability in github.com/mudler/LocalAI

Source: https://junglewise.ai/threats/cve-2024-48057-localai-cross-site-scripting-vulnerability  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-11-06  
License: CC BY 4.0 with a link back

CVE-2024-48057 · Severity: low · CVSS 3.1 · Published 2024-11-06

LocalAI Cross-site Scripting vulnerability in github.com/mudler/LocalAI

Technologies: [github.com/mudler/LocalAI (Go)](https://junglewise.ai/threats/technologies/github-com-mudler-localai). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2024-48057 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-48057 being exploited in the wild.

**How severe is CVE-2024-48057?** Low severity, with a CVSS score of 3.1, published 6 November 2024.

**Which products and versions are affected?** github.com/mudler/LocalAI (Go) SEMVER:introduced=0, SEMVER:introduced=0,last_affected=2.20.1.

**Is there a fix for CVE-2024-48057?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**Am I affected by CVE-2024-48057?** Check whether you run github.com/mudler/LocalAI (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Affected products

- github.com/mudler/LocalAI (Go) SEMVER:introduced=0, SEMVER:introduced=0,last_affected=2.20.1

## Identifiers

- CVE-2024-48057
- GHSA-ghx4-cgxw-7h9p
- GO-2024-3253

## Related threats

- [LocalAI SSRF in models/apply endpoint](https://junglewise.ai/threats/cve-2026-59707-localai-ssrf-in-models-apply-endpoint)
- [GO-2025-3542 - LocalAI Cross-Site Scripting (XSS) vulnerability in its search functionality in github.com/mudler/LocalAI](https://junglewise.ai/threats/cve-2024-9900-localai-cross-site-scripting-xss-vulnerability-in-its-search)
