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…

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/02/2026, 20:36:57 UTC

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.

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/02/2026, 20:36:57 UTC

Last updated: 07/02/2026, 23:25:25 UTC

Views: 5

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