CVE-2024-12870 MEDIUM

CVE-2024-12870: Stored Cross-site Scripting (XSS) in infiniflow/ragflow

Vendor Infiniflow
Product infiniflow/ragflow
Weakness CWE-79 · XSS
Published March 20, 2025
Last update March 20, 2025

CVSS base score

5.4/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction Required
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

March 20, 2025 CVE published
March 20, 2025 Record updated