Stored XSS via incomplete extension blocklist
Published Jun 15, 2025 · Updated Jun 16, 2025
Stored XSS in ComfyUI 0.3.0 through 0.3.39 allows remote attackers to execute script in another user's browser via an uploaded image. The /view response forces only HTML, HTM, JavaScript, and CSS filenames to download, leaving SVG, XHTML, and other script-capable types renderable inline. Exploitation requires access to the normally localhost-bound service and user interaction with the uploaded file, after which same-origin script can read browser-accessible data and issue API requests.
Summary
What happened
Stored XSS in ComfyUI 0.3.0 through 0.3.39 allows remote attackers to execute script in another user's browser via an uploaded image. The /view response forces only HTML, HTM, JavaScript, and CSS filenames to download, leaving SVG, XHTML, and other script-capable types renderable inline. Exploitation requires access to the normally localhost-bound service and user interaction with the uploaded file, after which same-origin script can read browser-accessible data and issue API requests.
The record
- CVE
- CVE-2025-6092
- Published
- Jun 15, 2025
- Updated
- Jun 16, 2025
- Vendor
- Comfy Org
- Product
- ComfyUI
- Classifications
- CWE-79, T1189
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jun 15, 2025CVE publishedPublication date reported by the CVE source.
- Jun 16, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0.3.0
- Affected versionversion=0.3.1
- Affected versionversion=0.3.10
- Affected versionversion=0.3.11
- Affected versionversion=0.3.12
- Affected versionversion=0.3.13
- Affected versionversion=0.3.14
- Affected versionversion=0.3.15
- Affected versionversion=0.3.16
- Affected versionversion=0.3.17
- Affected versionversion=0.3.18
- Affected versionversion=0.3.19
- Affected versionversion=0.3.2
- Affected versionversion=0.3.20
- Affected versionversion=0.3.21
- Affected versionversion=0.3.22
- Affected versionversion=0.3.23
- Affected versionversion=0.3.24
- Affected versionversion=0.3.25
- Affected versionversion=0.3.26
- Affected versionversion=0.3.27
- Affected versionversion=0.3.28
- Affected versionversion=0.3.29
- Affected versionversion=0.3.3
- Affected versionversion=0.3.30
- Affected versionversion=0.3.31
- Affected versionversion=0.3.32
- Affected versionversion=0.3.33
- Affected versionversion=0.3.34
- Affected versionversion=0.3.35
- Affected versionversion=0.3.36
- Affected versionversion=0.3.37
- Affected versionversion=0.3.38
- Affected versionversion=0.3.39
- Affected versionversion=0.3.4
- Affected versionversion=0.3.5
- Affected versionversion=0.3.6
- Affected versionversion=0.3.7
- Affected versionversion=0.3.8
- Affected versionversion=0.3.9
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- ComfyUI stored-XSS proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo