XSS in Infiniflow Infiniflow/ragflow

CVE-2024-12871

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.

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.004 (32.1th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2024-12871?
CVE-2024-12871 is a medium-severity vulnerability in Infiniflow Infiniflow/ragflow, classified under Cross-site Scripting. CVSS score: 5.4/10. Published 2025-03-20.
How severe is CVE-2024-12871?
Medium severity. CVSS v3 base score is 5.4 out of 10.