CVE-2024-12871: infiniflow/ragflow - Stored XSS
- Cve: CVE-2024-12871
- Name: infiniflow/ragflow - Stored XSS
- 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.
- Impact: Attackers can hijack sessions, exfiltrate data, or perform actions on behalf of victims, compromising sensitive information and application integrity.
- Remediation: Update to the latest version where the vulnerability is fixed or implement input sanitization and file validation measures.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec, information_disclosure, data_tampering
- Requirement type: user_interaction
- Requirements: Victims need to view the malicious PDF file
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.4
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.00398
- Epss percentile: 0.3479
- Assignee: [email protected]
- Published at: 2025-03-20T10:15:31Z
- Age in days: 614
- Modified at: 2026-06-17T07:00:40Z
- Public exploits total: 1
- References total: 1
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-12871
- Nvd status: analyzed
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://huntr.com/bounties/7903945c-2839-4dd5-9d40-9ef47fe53118 | nvd | 2025-03-20 |
References
| Url | Source | Tags |
|---|---|---|
| https://huntr.com/bounties/7903945c-2839-4dd5-9d40-9ef47fe53118 | nvd | Exploit |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| infiniflow:ragflow | = 0.12.0 | no | nvd | /v1/products/infiniflow/ragflow |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2025-03-20
- Remote: yes
- Authentication required: yes
- Exposed hosts: 2053
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports