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

Medium 5.1 Published Updated

Authenticated users can inject JavaScript via agent node names, leading to session theft and account takeover for other workspace members.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-58579?

CVE-2026-58579 is a medium-severity cross-site scripting vulnerability in infiniflow ragflow, published on 2 Jul 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

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

Weakness: CWE-79

Which versions are affected by CVE-2026-58579?

How do I fix CVE-2026-58579?

No fix has been published for CVE-2026-58579 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-58579 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-58579 exists.

Sources

Also known as GHSA-73vg-2j49-cmcr.

Is CVE-2026-58579 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free