XSS in Infiniflow Infiniflow/ragflow
CVE-2024-12870
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.
Vulnerability class: XSS (Cross-Site Scripting)
EPSS: 0.005 (37.8th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.
Affected products
- Infiniflow Infiniflow/ragflow — versions unspecified
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2024-12870?
- CVE-2024-12870 is a medium-severity vulnerability in Infiniflow Infiniflow/ragflow, classified under Cross-site Scripting. CVSS score: 5.4/10. Published 2025-03-20.
- How severe is CVE-2024-12870?
- Medium severity. CVSS v3 base score is 5.4 out of 10.