GHSA-ghx4-cgxw-7h9p

Suggest an improvement
Source
https://github.com/advisories/GHSA-ghx4-cgxw-7h9p
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/11/GHSA-ghx4-cgxw-7h9p/GHSA-ghx4-cgxw-7h9p.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-ghx4-cgxw-7h9p
Aliases
Published
2024-11-05T00:31:28Z
Modified
2024-11-06T19:55:58Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
  • 2.1 (Low) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P CVSS Calculator
Summary
LocalAI Cross-site Scripting vulnerability
Details

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.

Database specific
{
    "nvd_published_at": "2024-11-04T23:15:04Z",
    "cwe_ids": [
        "CWE-352",
        "CWE-79"
    ],
    "severity": "LOW",
    "github_reviewed": true,
    "github_reviewed_at": "2024-11-05T15:52:19Z"
}
References

Affected packages

Go / github.com/mudler/LocalAI

Package

Name
github.com/mudler/LocalAI
View open source insights on deps.dev
Purl
pkg:golang/github.com/mudler/LocalAI

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
2.20.1