CVE-2026-58579
JSON

5.1medium

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

Severity
5.1medium CVSS:4.0 by VulnCheck
Exploit likelihood
0.18% (higher than 8% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

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.

Affected

Product or packageVersionsReported by
infiniflow ragflowbefore 0.26.3CVE List

All scores

VulnCheck5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
VulnCheck5.1medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Classification

CWE-79

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

RAGFlow antes de la versión 0.26.3 almacena el nombre de un nodo de pipeline de agente (DSL) sin sanitización: el endpoint de actualización del agente normaliza el DSL enviado a través de normalize_dsl, que solo realiza la validación de serialización JSON y conserva el nombre del nodo textualmente. La interfaz de usuario web de dataflow-result luego renderiza ese nombre en el modal de confirmación ’Rerun from current step’ a través de dangerouslySetInnerHTML, y la configuración de i18next establece escapeValue:false, por lo que el valor se inserta en el DOM sin codificación HTML. Un usuario autenticado del espacio de trabajo que puede crear o editar un agente puede inyectar JavaScript arbitrario que se ejecuta en la sesión de otro miembro del espacio de trabajo que abre el resultado del flujo de datos y hace clic en ’rerun’, lo que permite el robo de sesión/token y la toma de control de cuentas a través del límite de confianza del usuario.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-58579 changed 2026-11-08CVE Terms of Use
NVDCVE-2026-58579 changed 2026-10-25Public domain