Description
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.
Published: 2024-11-04
Score: 6.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-ghx4-cgxw-7h9p LocalAI Cross-site Scripting vulnerability
History

Tue, 05 Nov 2024 18:15:00 +0000

Type Values Removed Values Added
First Time appeared Mudler
Mudler localai
Weaknesses CWE-352
CWE-79
CPEs cpe:2.3:a:mudler:localai:*:*:*:*:*:*:*:*
Vendors & Products Mudler
Mudler localai
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 04 Nov 2024 22:45:00 +0000

Type Values Removed Values Added
Description 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.
References

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-11-05T17:28:51.570Z

Reserved: 2024-10-08T00:00:00.000Z

Link: CVE-2024-48057

cve-icon Vulnrichment

Updated: 2024-11-05T17:28:39.575Z

cve-icon NVD

Status : Analyzed

Published: 2024-11-04T23:15:04.393

Modified: 2025-09-04T16:15:35.463

Link: CVE-2024-48057

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses