CVE-2025-49126 Details
Description
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.
A reflected cross-site scripting vulnerability has been identified in Visionatrix, an AI media processing tool that utilizes ComfyUI. This issue affects versions 1.5.0 prior to 2.5.1. The vulnerability resides in the '/docs/flows' endpoint, which is susceptible to an attack that can lead to a complete takeover of the application and the exfiltration of sensitive secrets stored within it. The problem arises because the 'get_swagger_ui_html' function from FastAPI is used without proper encoding or sanitization of user-controlled arguments, allowing for the injection of malicious scripts that can be executed in the context of the user's session.
Users can update to Visionatrix version 2.5.1, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 23, 2025CISA-ADP
Assessed Jun 23, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/Visionatrix/Visionatrix/commit/63aafe6e4d1bffe4bf69e73b6fdfc65c71a8f5b8 | [email protected] | Source CodeVendor |
| https://github.com/Visionatrix/Visionatrix/security/advisories/GHSA-w36r-9jvx-q48v | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Visionatrix | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 23, 2025 | New CVE Received | [email protected] |
Volerion