CVE-2026-58579: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in infiniflow ragflow
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.
AI Analysis
Technical Summary
CVE-2026-58579 is a cross-site scripting vulnerability in infiniflow's RAGFlow product before version 0.26.3. The vulnerability arises because the agent update endpoint normalizes submitted DSL data only by JSON serialization validation, preserving the node name without sanitization. The dataflow-result web UI then inserts this node name into the DOM using dangerouslySetInnerHTML with i18next configured to disable escaping, resulting in unencoded HTML insertion. An authenticated user with permission to create or edit agents can exploit this to inject JavaScript that executes in other users' sessions when they open the dataflow result and click the rerun confirmation, enabling session/token theft and account takeover across user trust boundaries.
Potential Impact
An authenticated user with agent creation or editing privileges can inject malicious JavaScript code that executes in the browsers of other workspace users. This can lead to theft of session tokens and account takeover, compromising user accounts and potentially the integrity of the workspace environment. The vulnerability requires user interaction (clicking rerun) and privileges to create or edit agents.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict agent creation and editing permissions to trusted users only and educate users to avoid clicking rerun on suspicious dataflow results. Monitor vendor communications for an official fix or update.
CVE-2026-58579: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in infiniflow ragflow
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.
CVSS v3.1
Score 5.4medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-58579 is a cross-site scripting vulnerability in infiniflow's RAGFlow product before version 0.26.3. The vulnerability arises because the agent update endpoint normalizes submitted DSL data only by JSON serialization validation, preserving the node name without sanitization. The dataflow-result web UI then inserts this node name into the DOM using dangerouslySetInnerHTML with i18next configured to disable escaping, resulting in unencoded HTML insertion. An authenticated user with permission to create or edit agents can exploit this to inject JavaScript that executes in other users' sessions when they open the dataflow result and click the rerun confirmation, enabling session/token theft and account takeover across user trust boundaries.
Potential Impact
An authenticated user with agent creation or editing privileges can inject malicious JavaScript code that executes in the browsers of other workspace users. This can lead to theft of session tokens and account takeover, compromising user accounts and potentially the integrity of the workspace environment. The vulnerability requires user interaction (clicking rerun) and privileges to create or edit agents.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict agent creation and editing permissions to trusted users only and educate users to avoid clicking rerun on suspicious dataflow results. Monitor vendor communications for an official fix or update.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-07-01T15:00:11.163Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a46c86427e9c79719043934
Added to database: 07/02/2026, 20:21:56 UTC
Last enriched: 07/02/2026, 20:36:57 UTC
Last updated: 07/02/2026, 23:25:25 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.