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.
{
"github_reviewed": true,
"github_reviewed_at": "2024-11-05T15:52:19Z",
"nvd_published_at": "2024-11-04T23:15:04Z",
"cwe_ids": [
"CWE-352",
"CWE-79"
],
"severity": "LOW"
}