CVE-2026-121928

InfiniFlow RAGFlow Images API file_utils.py cross site scripting

Published Nov 4, 2026 CVSS 4.0 · 5.1 Medium EPSS < 1% KEV · Not listed
Description
A vulnerability was identified in InfiniFlow RAGFlow up to 0.27.2. This issue affects some unknown processing of the file api/utils/file_utils.py of the component Images API. The manipulation leads to cross site scripting. It is possible to initiate the attack remotely. The exploit is publicly available and might be used. Upgrading to version 0.27.3 is capable of addressing this issue. The identifier of the patch is 9ea0246f8d453a144fb4f903d163b2ba6b91ed2c. Upgrading the affected component is advised.

Analysis

AI-generated

Technical impact

The vulnerability resides in the file api/utils/file_utils.py of the Images API and allows an attacker to inject malicious script into responses. An attacker can craft a request that forces the server to reflect user input without proper encoding, enabling cross‑site scripting that may lead to session hijacking or malicious payload execution in a victim’s browser. The weakness reflects CWE‑79 and involves an insecure code path that could also allow arbitrary code execution—CWE‑94.

Affected Systems

InfiniFlow RAGFlow, all releases up to 0.27.2, including the Images API component. The issue is fixed in release 0.27.3 and is referenced by commit 9ea0246f8d453a144fb4f903d163b2ba6b91ed2c.

Risk and Exploitability

The CVSS score of 5.1 indicates medium severity. EPSS is not available, but the advisory notes that the exploit is publicly available and may be used. The vulnerability can be triggered remotely by sending a crafted request to the Images API. It is not listed in the CISA KEV catalog, although the cross‑site scripting impact remains significant for systems exposing the API to untrusted clients.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade RAGFlow to version 0.27.3 or later, applying the patch identified by commit 9ea0246f8d453a144fb4f903d163b2ba6b91ed2c.
  • If an immediate upgrade is not possible, restrict access to the Images API to trusted networks or behind a firewall to prevent unauthenticated users from sending malicious requests.
  • Validate and sanitize all user‑supplied parameters that are processed by the Images API before they are included in responses to guard against future injection attempts.

Generated by OpenCVE AI on November 4, 2026 at 19:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A vulnerability was identified in InfiniFlow RAGFlow up to 0.27.2. This issue affects some unknown processing of the file api/utils/file_utils.py of the component Images API. The manipulation leads to cross site scripting. It is possible to initiate the attack remotely. The exploit is publicly available and might be used. Upgrading to version 0.27.3 is capable of addressing this issue. The identifier of the patch is 9ea0246f8d453a144fb4f903d163b2ba6b91ed2c. Upgrading the affected component is advised.
Title InfiniFlow RAGFlow Images API file_utils.py cross site scripting
First Time appeared Infiniflow
Infiniflow ragflow
Weaknesses CWE-79
CWE-94
CPEs cpe:2.3:a:infiniflow:ragflow:*:*:*:*:*:*:*:*
Vendors & Products Infiniflow
Infiniflow ragflow
References
Metrics cvssV2_0

{'score': 4, 'vector': 'AV:N/AC:L/Au:S/C:N/I:P/A:N/E:POC/RL:OF/RC:C'}

cvssV3_0

{'score': 3.5, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N/E:P/RL:O/RC:C'}

cvssV3_1

{'score': 3.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N/E:P/RL:O/RC:C'}

cvssV4_0

{'score': 5.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Nov 9, 2026, 4:38 PM
Reserved
Nov 4, 2026, 11:33 AM
Status
Deferred
Published
Nov 4, 2026, 7:17 PM
Modified
Nov 9, 2026, 5:17 PM