Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 92%

CVE-2026-58579: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in infiniflow ragflow

0
Medium
VulnerabilityCVE-2026-58579cvecve-2026-58579
Published: 07/02/2026 (07/02/2026, 19:38:51 UTC)
Source: CVE Database V5
Vendor/Project: infiniflow
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Affected software

GitHub Actionsmore threats →cve
ragflow
pkg:github/ragflow
Affected versions
<0.26.3

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

AILast updated: 07/17/2026, 09:07:46 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses