CVE-2024-12870
MEDIUMinfiniflow/ragflow < latest - Unauthenticated Stored Cross-Site Scripting via HTML/XML File Upload
Title source: llmDescription
A stored cross-site scripting (XSS) vulnerability exists in infiniflow/ragflow, affecting the latest commit on the main branch (cec2080). The vulnerability allows an attacker to upload HTML/XML files that can host arbitrary JavaScript payloads. These files are served with the 'application/xml' content type, which is automatically rendered by browsers. This can lead to the execution of arbitrary JavaScript in the context of the user's browser, potentially allowing attackers to steal cookies and gain unauthorized access to user files and resources. The vulnerability does not require authentication, making it accessible to anyone with network access to the instance.
References (1)
Core 1
Core References
Exploit, Third Party Advisory
https://huntr.com/bounties/d6b497d2-5c95-4abc-8033-04b8068fed65
Scores
CVSS v3
5.4
EPSS
0.0045
EPSS Percentile
36.5%
Attack Vector
NETWORK
CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-79
Status
published
Products (1)
infiniflow/infiniflow/ragflow
unspecified - latest
Published
Mar 20, 2025
Tracked Since
Feb 18, 2026