# CVE-2026-58579: RAGFlow < 0.26.3 - Stored Cross-Site Scripting via Agent Pipeline Node Name

- Severity: Medium 5.1 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA: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.18%, higher than 8% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-02T19:38:51.314Z
- Modified: 2026-11-08T14:07:11.253Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

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

(As written by CVE List.)

## Affected

- infiniflow ragflow: before 0.26.3

## Every score

- VulnCheck: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- VulnCheck: CVSS:4.0 5.1 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`

## References

- <https://github.com/infiniflow/ragflow/issues/16507> (exploit, issue-tracking, technical-description)
- <https://github.com/infiniflow/ragflow/releases/tag/v0.26.3> (release-notes)
- <https://github.com/infiniflow/ragflow/pull/16516> (issue-tracking, patch)
- <https://github.com/infiniflow/ragflow/commit/572f1ea9f4eba6a60e64f7437dee60aa1c0913f1> (patch)
- <https://www.vulncheck.com/advisories/ragflow-stored-cross-site-scripting-via-agent-pipeline-node-name> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-58579](https://www.cve.org/CVERecord?id=CVE-2026-58579), CVE Terms of Use, modified 2026-11-08
- NVD: [CVE-2026-58579](https://nvd.nist.gov/vuln/detail/CVE-2026-58579), Public domain, modified 2026-10-25

---

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