MediumVulnerability
CVE-2024-12870: infiniflow/ragflow stored cross-site scripting through uploaded XML files
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2024-12870
- Published
- Record updated
Summary
CVE-2024-12870 is a stored cross-site scripting flaw in infiniflow/ragflow, affecting the latest commit on the main branch (cec2080). An attacker can upload HTML/XML files hosting arbitrary JavaScript, which are served with the 'application/xml' content type and rendered by browsers, allowing script execution in users' browsers, cookie theft and unauthorized access to user files. No authentication is required, so anyone with network access to the instance can exploit it.
Mitigation
The source does not state a fix yet. Check the original advisory for updates.
Related items
- MediumCVE-2026-143864: InfiniFlow RAGFlow template injection in Canvas StringTransform HandlerSimilar attack, NVD/CVE Database
- MediumCVE-2026-85259: Gemini CLI Triage Flaw Lets Issue Authors Run Code in GitHub ActionsSimilar attack, StepSecurity Blog
- MediumCVE-2026-143967: Wise Chat with AI unauthenticated stored cross-site scriptingSimilar attack, NVD/CVE Database
- MediumCVE-2026-135917: Apache Camel A2A component confused deputy via shared message headersSimilar attack, NVD/CVE Database
- MediumCVE-2026-107489: Improper Authentication vulnerability in Apache Camel A2A component. This issue affects Apache Camel: from 4.21.0…Similar attack, NVD/CVE Database