Security mailing lists by PureSourceCode

CVE-2024-9900

MEDIUM 6.1CVSS 3.1

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

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.

Published
20 Mar 2025
Last modified
17 Jun 2026
Assigned by
security@huntr.dev
NVD status
Modified
Weakness
CWE-115CWE-79
Also known as
GHSA-w6hh-w36c-vxmwGO-2025-3542
Sources
NVDJSONOSV GHSA-w6hh-w36c-vxmwJSONOSV GO-2025-3542JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD security@huntr.dev (Secondary) CVSS 3.0 MEDIUM 5.4 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
OSV GitHub CVSS 3.0 MEDIUM 5.4 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD mudler localai
cpe:2.3:a:mudler:localai:2.21.1:*:*:*:*:*:*:*
= 2.21.1
OSV Go github.com/mudler/LocalAI < 2.22.0 2.22.0
OSV Go github.com/mudler/LocalAI all versions

References

History

  • 25 Nov 2026 20:57 UTC · NVD: first stored (published 20 Mar 2025)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Mar 2025)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 20 Mar 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.