CVE-2025-51462: RAGFlow - Stored XSS
- Cve: CVE-2025-51462
- Name: RAGFlow - Stored XSS
- Description: Stored Cross-site Scripting (XSS) vulnerability in api.apps.dialog_app.set_dialog in RAGFlow 0.17.2 allows remote attackers to execute arbitrary JavaScript via crafted input to the assistant greeting field, which is stored unsanitised and rendered using a markdown component with rehype-raw.
- Impact: Remote attackers can execute arbitrary JavaScript, potentially leading to session hijacking or user impersonation.
- Remediation: Update to the latest version of RAGFlow.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.00328
- Epss percentile: 0.26106
- Assignee: [email protected]
- Published at: 2025-07-22T21:15:44Z
- Age in days: 490
- Modified at: 2026-06-17T09:35:36Z
- Public exploits total: 2
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-51462
- Nvd status: analyzed
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/infiniflow/ragflow/pull/7250 | nvd | 2025-07-22 |
| https://www.gecko.security/blog/cve-2025-51462 | nvd | 2025-07-22 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/infiniflow/ragflow/pull/7250 | Exploit, Issue Tracking |
| https://www.gecko.security/blog/cve-2025-51462 | Exploit, Third Party Advisory |
| https://github.com/infiniflow/ragflow | Product |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| infiniflow:ragflow | = 0.17.2 | no | nvd | /v1/products/infiniflow/ragflow |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| infiniflow/ragflow | pull | yes | /v1/repositories/infiniflow/ragflow |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 2
- Public exploit first date: 2025-07-22
- Remote: yes
- Exposed hosts: 2053
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports