CVE-2026-58579CWE-79

RAGFlow < 0.26.3 - Stored Cross-Site Scripting via Agent Pipeline Node Name

Medium · published July 2, 2026

CVSS v4.0
5.1
EPSS
0%
Percentile
21.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
5.1 · MEDIUM
Vector
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
EPSS
0.00298 · 21.4th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2026-07-02T19:38Z
EPSS history
Timeline
  • 02 JUL 19:38Z
    RAGFlow < 0.26.3 - Stored Cross-Site Scripting via Agent Pipeline Node Name
    cvelistv5