Skip to content
HighVulnerability

CVE-2025-49126: Visionatrix reflected XSS in /docs/flows endpoint

Identifier
CVE-2025-49126
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.3%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

CVE-2025-49126 affects Visionatrix, an AI media processing tool built on ComfyUI, in versions 1.5.0 up to but not including 2.5.1. The /docs/flows endpoint passes user-controlled arguments to FastAPI's get_swagger_ui_html function, which does not encode or sanitize them, enabling a reflected XSS. A one-click attack can take over a user's session and expose secrets stored in it.

Mitigation

This issue has been patched in version 2.5.1.