~ / search / GHSA-w6hh-w36c-vxmw

GHSA-w6hh-w36c-vxmw

LocalAI Cross-Site Scripting (XSS) vulnerability in its search functionality

Source: GitHub Advisory Database (reviewed) Moderate CVE-2024-9900

Packages

EcosystemPackageAffectedFixed in
Go github.com/mudler/LocalAI < 2.22.0 2.22.0

Details

As written in the advisory (Markdown source, shown as plain text).

mudler/localai version v2.21.1 contains a Cross-Site Scripting (XSS) vulnerability in its search functionality. The vulnerability arises due to improper sanitization of user input, allowing the injection and execution of arbitrary JavaScript code. This can lead to the execution of malicious scripts in the context of the victim's browser, potentially compromising user sessions, stealing session cookies, redirecting users to malicious websites, or manipulating the DOM.

References

External links from the advisory. They lead to third-party sites.