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 issue stems from the agent update endpoint normalizing submitted DSL data with JSON serialization validation but preserving the node name without sanitization. The dataflow-result web UI renders this node name using dangerouslySetInnerHTML combined with an i18next configuration that disables HTML escaping (escapeValue:false). This allows an authenticated workspace user who can create or edit agents to inject arbitrary JavaScript. When another workspace member views the dataflow result and clicks the 'Rerun from current step' confirmation modal, the injected script executes in their session context, enabling session or token theft and account takeover across user trust boundaries.
Potential Impact
The vulnerability allows authenticated users with agent creation or editing privileges to inject malicious JavaScript code that executes in the browsers of other authenticated users. This can lead to session or token theft and potential account takeover. The attack requires user interaction (clicking the rerun confirmation), and the vulnerability affects confidentiality and integrity but not availability. The CVSS 3.1 base score is 5.4 (medium severity), reflecting network attack vector, low attack complexity, privileges required, user interaction, and partial impact on confidentiality and integrity.
Mitigation Recommendations
No official fix or patch is currently documented. Users should upgrade to RAGFlow version 0.26.3 or later once available, as this version presumably addresses the issue. Until then, restrict agent creation and editing permissions to trusted users only to reduce risk. Monitor vendor advisories for an official patch or remediation guidance. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
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 issue stems from the agent update endpoint normalizing submitted DSL data with JSON serialization validation but preserving the node name without sanitization. The dataflow-result web UI renders this node name using dangerouslySetInnerHTML combined with an i18next configuration that disables HTML escaping (escapeValue:false). This allows an authenticated workspace user who can create or edit agents to inject arbitrary JavaScript. When another workspace member views the dataflow result and clicks the 'Rerun from current step' confirmation modal, the injected script executes in their session context, enabling session or token theft and account takeover across user trust boundaries.
Potential Impact
The vulnerability allows authenticated users with agent creation or editing privileges to inject malicious JavaScript code that executes in the browsers of other authenticated users. This can lead to session or token theft and potential account takeover. The attack requires user interaction (clicking the rerun confirmation), and the vulnerability affects confidentiality and integrity but not availability. The CVSS 3.1 base score is 5.4 (medium severity), reflecting network attack vector, low attack complexity, privileges required, user interaction, and partial impact on confidentiality and integrity.
Mitigation Recommendations
No official fix or patch is currently documented. Users should upgrade to RAGFlow version 0.26.3 or later once available, as this version presumably addresses the issue. Until then, restrict agent creation and editing permissions to trusted users only to reduce risk. Monitor vendor advisories for an official patch or remediation guidance. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
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/17/2026, 09:07:46 UTC
Last updated: 08/14/2026, 12:41:11 UTC
Views: 63
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.