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.
OpenCVE Enrichment