CVE-2024-12870infiniflow/ragflow
Medium 5.4
Follow: this CVE · infiniflow · infiniflow/ragflow We alert you by email or Slack (account required).
- Priority
- 32
- CVSS 3.0
- 5.4
- EPSS
- 0.6% probability of exploitation in 30 days · percentile 41
- Auth required
- Yes
- Published
- Mar 20, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for infiniflow/ragflow.
Affected products
- infiniflow · infiniflow/ragflow
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.