CVE-2026-58579 RAGFlow < 0.26.3 - Stored Cross-Site Scripting via Agent Pipeline Node Name
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
Description
RAGFlow before 0.26.3 stores an agent pipeline (DSL) node name without sanitization: the agent update endpoint normalizes the submitted DSL via normalize_dsl, which only performs JSON serialization validation and preserves the node name verbatim. The dataflow-result web UI then renders that name into the "Rerun from current step" confirmation modal via dangerouslySetInnerHTML, and the i18next configuration sets escapeValue:false, so the value is inserted into the DOM without HTML encoding. An authenticated workspace user who can create or edit an agent can inject arbitrary JavaScript that executes in the session of another workspace member who opens the dataflow result and clicks rerun, enabling session/token theft and account takeover across the user trust boundary.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| infiniflow ragflow | < 0.26.3 | 0.26.3 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| infiniflow ragflow | < 0.26.3 | 0.26.3 |
References
- ragflow 0.26.3 Release Notes release-notes
- Researcher Disclosure exploit issue-tracking technical-description
- Fix PR issue-tracking patch
- Fix Commit patch
- www.vulncheck.com third-party-advisory
- ENISA EUVD EUVD-2026-41421 third-party-advisory