CVE-2025-51462 Details
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.
A stored cross-site scripting vulnerability has been identified in RAGFlow version 0.17.2. The issue arises in the dialog configuration feature, where user input in the 'Opening greeting' field is not properly sanitized. This unsanitized input is saved to the database and later rendered using a markdown component with the rehype-raw plugin, allowing the execution of malicious JavaScript in the browsers of users.
The vulnerability has been fixed in RAGFlow version 0.19.1. Users should update to this version to address the issue.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 22, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/infiniflow/ragflow | [email protected] | Product |
| https://github.com/infiniflow/ragflow/pull/7250 | [email protected] | ExploitIssue Tracking |
| https://www.gecko.security/blog/cve-2025-51462 | [email protected] | ExploitThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| infiniflow ragflow | 0.17.2 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 9, 2025 | Initial Analysis | [email protected] |
| Jul 22, 2025 | New CVE Received | [email protected] |
| Jul 22, 2025 | CVE Modified | CISA-ADP |