Alist reflected Cross-Site Scripting vulnerability
Date: 2024-10
Affected: go/github.com/alist-org/alist/v3
Attack vector: xss
Category: vulnerability-disclosure
Severity: Medium
CVE: CVE-2024-47067
CWE: CWE-79
CVSS: 6.1 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N)

AList is a file list program that supports multiple storages. AList contains a reflected cross-site scripting vulnerability in helper.go. The endpoint /i/:link_name takes in a user-provided value and reflects it back in the response. The endpoint returns an application/xml response, opening it up to HTML tags via XHTML and thus leading to a XSS vulnerability. This vulnerability is fixed in 3.29.0.


Mitigations:

Architectural layers (MAESTRO):