{"id":"CVE-2025-51462","details":"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.","modified":"2026-08-12T03:51:27.056930678Z","published":"2025-07-22T00:00:00Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/51xxx/CVE-2025-51462.json","cna_assigner":"mitre"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/51xxx/CVE-2025-51462.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-51462"},{"type":"FIX","url":"https://github.com/infiniflow/ragflow/pull/7250"},{"type":"PACKAGE","url":"https://github.com/infiniflow/ragflow"},{"type":"ARTICLE","url":"https://www.gecko.security/blog/cve-2025-51462"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/infiniflow/ragflow","events":[{"introduced":"baf3b9be7c759ca54b6ee8778411c86e7263ee7f"},{"last_affected":"baf3b9be7c759ca54b6ee8778411c86e7263ee7f"}],"database_specific":{"extracted_events":[{"introduced":"0.17.2"},{"last_affected":"0.17.2"}],"source":"CPE_STRING","cpe":"cpe:2.3:a:infiniflow:ragflow:0.17.2:*:*:*:*:*:*:*"}}],"versions":["0.17.2","v0.17.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-51462.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}