Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
infiniflow infiniflow/ragflow
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

RAGFlow是InfiniFlow开源的一个基于深度文档理解的开源 RAG 引擎。 RAGFlow cec2080版本存在跨站脚本漏洞,该漏洞源于未验证文件内容,可能导致存储型跨站脚本攻击。

AI Predicted 6.1 Difficulty: Easy EPSS 0.51% · P41
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-12870

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Stored Cross-site Scripting (XSS) in infiniflow/ragflow
Source: CVE Program / CVE List V5
Vulnerability 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 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.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5
Vulnerability Title
RAGFlow 跨站脚本漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
RAGFlow是InfiniFlow开源的一个基于深度文档理解的开源 RAG 引擎。 RAGFlow cec2080版本存在跨站脚本漏洞,该漏洞源于未验证文件内容,可能导致存储型跨站脚本攻击。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
infiniflow infiniflow/ragflow unspecified ~ latest -

II. Public POCs for CVE-2024-12870

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-12870

请登录查看更多情报信息。

Vendor Advisories for CVE-2024-12870 (1)

Same Patch Batch · infiniflow · 2025-03-20 · 7 CVEs total

CVE-2024-12779 SSRF in infiniflow/ragflow
CVE-2024-12433 Remote Code Execution in infiniflow/ragflow
CVE-2024-12869 Improper Authentication in infiniflow/ragflow
CVE-2024-12871 Stored Cross-site Scripting (XSS) in infiniflow/ragflow
CVE-2024-12880 Partial Account Takeover due to Insecure Data Querying in infiniflow/ragflow
CVE-2024-12450 RCE, Full Read SSRF, and Arbitrary File Read in infiniflow/ragflow

IV. Related Vulnerabilities

V. Comments for CVE-2024-12870

No comments yet


Leave a comment