Skip to content
MediumVulnerability

GHSA-w6hh-w36c-vxmw: LocalAI Cross-Site Scripting (XSS) vulnerability in its search functionality

Published
Record updated
View JSON
Affected
  • github.com/mudler/LocalAI < 2.22.0
Fixed in
2.22.0
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.5%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

mudler/localai version v2.21.1 contains a Cross-Site Scripting (XSS) vulnerability in its search functionality. The flaw stems from improper sanitization of user input, which allows arbitrary JavaScript to be injected and executed in a victim's browser. An attacker could use this to compromise user sessions, steal session cookies, redirect users to malicious websites, or manipulate the DOM.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.