Skip to content
MediumVulnerability

CVE-2024-12870: infiniflow/ragflow stored cross-site scripting through uploaded XML files

Identifier
CVE-2024-12870
Published
Record updated
View JSON

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.