title: Cross Site Request Forgery to denial of service or credit loss in LocalAI
description: The web server lacked CSRF tokens allowing an attacker to host malicious JavaScript on a host that when visited by a LocalAI user, could allow the attacker to fill disk space to deny service or abuse credits.
problem types: CWE-352 Cross-Site Request Forgery (CSRF)
affected:
{
vendor: mudler
product: mudler/localai
versions:
version: unspecified, status: affected, versionType: custom, lessThanOrEqual: latest
}
metrics:
cvssV3_0: [
version: 3.0
attackComplexity: LOW
attackVector: NETWORK
availabilityImpact: HIGH
confidentialityImpact: NONE
integrityImpact: NONE
privilegesRequired: NONE
scope: UNCHANGED
userInteraction: REQUIRED
vectorString: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
baseScore: 6.5
baseSeverity: MEDIUM
]