CVE-2026-63197: traQ: XSS in the User Uploaded File Retrieval API
Published 2026-11-09 · Updated 2026-11-23 · Also known as GHSA-p74g-f95m-7fx7, GO-2026-6944
Summary
A Cross-Site Scripting (XSS) vulnerability exists in traQ's user uploaded file retrieval API when storage is set to local. Engineering teams and system administrators using affected versions should update to the patched version.
Who is affected
Affected deployments are those using traQ with the `TRAQ_STORAGE_TYPE` set to `local`. An attacker who can upload files can supply crafted SVG or HTML files and trick a victim into opening the file URL, allowing arbitrary JavaScript execution in the victim's browser with high impacts to confidentiality and integrity.
Exploitability
The vulnerability has a CVSS v3.1 base score of 7.3 (HIGH) with an attack vector of network, low privileges required, and user interaction expected. The EPSS score is 0.003 and it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Remediation
- Upgrade github.com/traPtitech/traQ to version 1.0.0-rc.2.0.20260627142846-3db29e777166 (or v3.28.3).
- Alternatively, change `TRAQ_STORAGE_TYPE` to a storage backend other than `local`, or ensure all requests to `/files/{fileId}` include `dl=1`.
How to check your project
- Check `go.mod` to determine if `github.com/traPtitech/traQ` falls within the vulnerable version range prior to the fix.
- Inspect application environment variables to check if `TRAQ_STORAGE_TYPE` is explicitly set to `local`.
Automated analysis of the published advisory data, generated 2026-11-23. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| Go | github.com/traPtitech/traQ |
>= 0, < 1.0.0-rc.2.0.20260627142846-3db29e777166 | 1.0.0-rc.2.0.20260627142846-3db29e777166 | go get github.com/traPtitech/[email protected] |
CVSS 3.1 vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
| Attack vector | Network |
|---|---|
| Attack complexity | Low |
| Privileges required | Low |
| User interaction | Required |
| Scope | Unchanged |
| Confidentiality | High |
| Integrity | High |
| Availability | None |
FAQ
What causes the XSS vulnerability?
The file retrieval API serves user-uploaded SVG or HTML files directly in the browser when local storage is used, lacking the enforced Content-Disposition header.
Is active exploitation currently occurring in the wild?
There is no indication of active exploitation as the CISA Known Exploited Vulnerabilities list does not include this vulnerability.
What is the fix implemented in the patch?
The patch ensures the file retrieval API always adds the Content-Disposition header to responses regardless of the `dl` query parameter value, preventing direct browser rendering.
Original advisory description
References
- WEB https://github.com/traPtitech/traQ/security/advisories/GHSA-p74g-f95m-7fx7
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-63197
- WEB https://github.com/traPtitech/traQ/commit/3db29e7771661f6418d88d186d8ff7817f5d6b6e
- PACKAGE https://github.com/traPtitech/traQ
- WEB https://github.com/traPtitech/traQ/releases/tag/v3.28.3
Source records: GHSA-p74g-f95m-7fx7, GO-2026-6944 (OSV.dev) · EPSS by FIRST, 2026-11-26.