CVE-2026-65986: CVAT has stored XSS via annotation guide assets
CVAT is an open source interactive video and image annotation tool for computer vision. Versions 2.5.0 through 2.66.0 contain a XSS vulnerability that can be accessed through annotation guide assets. When CVAT serves the files attached to an annotation guide, it labels them with a media type ( Content-Type ) that the attacker can influence, so instead of treating an uploaded file as plain data, the victim's browser can be told to treat it as an HTML page and run any JavaScript inside it. This issue has been fixed in version 2.67.0.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
CVATto a version that resolves this vulnerability.Fixed in 2.67.0 - Compensating control
For CVAT versions 2.5.0 through 2.66.0, mitigate the stored XSS by preventing attacker-controlled Content-Type behavior when serving annotation guide assets (ensure uploaded/attached guide asset files are not served with an attacker-influenced Content-Type that causes the browser to execute the content as HTML/JavaScript).