# CVE-2025-51462: Stored Cross-site Scripting (XSS) vulnerability in api.apps.dialogapp.setdialog in RAGFlow 0.17.2 allows remote attackers to execute arbitr…

- Severity: Medium 6.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 27% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2025-07-22T00:00:00.000Z
- Modified: 2026-06-17T09:35:36.467Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- infiniflow ragflow: 0.17.2

## References

- <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)

## Sources

- CVE List: [CVE-2025-51462](https://www.cve.org/CVERecord?id=CVE-2025-51462), CVE Terms of Use, modified 2025-07-22
- NVD: [CVE-2025-51462](https://nvd.nist.gov/vuln/detail/CVE-2025-51462), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-51462 · Whole record: https://cve.day/CVE-2025-51462.json · Rebuilt by cve.day 2026-11-25T22:59:01.581Z
