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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-12871— 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 0.12.0版本存在安全漏洞,该漏洞源于未验证PDF文件内容,可能导致跨站脚本攻击。

AI Predicted 6.1 Difficulty: Moderate EPSS 0.39% · P31
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-12871

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
An XSS vulnerability in infiniflow/ragflow version 0.12.0 allows an attacker to upload a malicious PDF file to the knowledge base. When the file is viewed within Ragflow, the payload is executed in the context of the user's browser. This can lead to session hijacking, data exfiltration, or unauthorized actions performed on behalf of the victim, compromising sensitive user data and affecting the integrity of the entire application.
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 0.12.0版本存在安全漏洞,该漏洞源于未验证PDF文件内容,可能导致跨站脚本攻击。
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-12871

# 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-12871

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

Vendor Advisories for CVE-2024-12871 (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-12870 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-12871

No comments yet


Leave a comment