Security Advisory

CVE-2024-12870

CVE vulnerability detail — eXtreme Datacenter Security Operations

Published 2025-03-20 10:10:45
Last updated 2025-03-20 18:17:16
Assigner @huntr_ai
State PUBLISHED

Description

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 users 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.