Skip to main content
CVE-2025-51462VulnerabilityPublished

CVE-2025-51462: ragflow · n/a

Affects ragflowSource CVE Database V5

0

Not known to be exploited · CVSS 6.1 Medium.

Data as of 26 Oct 2026, 06:26 UTC

CVSS 3.1 base score
6.1Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 25% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 22 Jul 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.

What to do

Affected software

ProductAffectedFixed in
GitHubinfiniflow/ragflowpkg:github/infiniflow/ragflowOther threatsAffected
  • =0.17.2
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

1. Immediate mitigation should focus on input validation and output encoding: sanitize all user inputs to the assistant greeting field to remove or neutralize any HTML or JavaScript content before storage. 2. Modify or replace the markdown rendering pipeline to avoid using rehype-raw or ensure it is configured with strict sanitization rules to prevent raw HTML execution. 3. Implement Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts in browsers, mitigating the impact of any residual XSS. 4. Conduct a thorough code review and security audit of all markdown rendering and user input handling components to identify and fix similar vulnerabilities. 5. Educate users and administrators about the risks of stored XSS and encourage cautious handling of untrusted content. 6. Monitor logs and user reports for suspicious activity that might indicate exploitation attempts. 7. 8. Stay updated with vendor advisories and apply patches promptly once available.

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.

References

Community reviews

Loading reviews…