PT-2025-12296

CVE-2024-9901

·

Published

2025-03-20

·

Updated

2025-03-20

Description by

CVSS 3.1
3.4
Low
MetricsAV:N/AC:L/PR:H/UI:R/S:C/C:N/I:L/A:N
Name of the Vulnerable Software and Affected Versions LocalAI version v2.19.4
Description The issue arises from the delete model API improperly neutralizing input during web page generation, leading to a one-time storage cross-site scripting (XSS) vulnerability. This allows an attacker to store a malicious payload that executes when a user accesses the homepage. The presence of cross-site request forgery (CSRF) can also enable automated malicious requests.
Recommendations For LocalAI version v2.19.4, consider disabling the delete model API until a patch is available to prevent exploitation of the XSS vulnerability. Restrict access to the homepage to minimize the risk of malicious payload execution. Avoid using the delete model API in conjunction with any functionality that may be vulnerable to CSRF to prevent automated malicious requests.
Exploitability
Fix
Impacts
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾