{"vuln_id":"CVE-2026-63197","aliases":["GHSA-p74g-f95m-7fx7"],"description":"traQ: XSS in the User Uploaded File Retrieval API","published_at":"2026-11-09T20:52:49Z","modified_at":"2026-11-23T20:41:00.205930Z","first_seen_at":"2026-11-23T21:06:31.538414Z","severity":"high","severity_source":"native","cvss_score":7.3,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","cwe":["CWE-79"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00286,"epss_percentile":0.21456,"nvd_status":null,"enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-63197"},"matched_alias":null,"items":[{"id":16654,"source":{"id":"osv","name":"OSV.dev"},"title":"GO-2026-6944: traQ: XSS in the User Uploaded File Retrieval API in github.com/traPtitech/traQ","summary":"traQ: XSS in the User Uploaded File Retrieval API in github.com/traPtitech/traQ\n\nAffected: Go:github.com/traPtitech/traQ\n\nFixed in: 1.0.0-rc.2.0.20260627142846-3db29e777166\n\nReferences:\nhttps://github.com/traPtitech/traQ/security/advisories/GHSA-p74g-f95m-7fx7\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-63197\nhttps://github.com/traPtitech/traQ/commit/3db29e7771661f6418d88d186d8ff7817f5d6b6e\nhttps://github.com/traPtitech/traQ/releases/tag/v3.28.3","url":"https://osv.dev/vulnerability/GO-2026-6944","published_at":"2026-11-23T20:02:42Z","updated_at":"2026-11-23T20:30:12.605280Z","fetched_at":"2026-11-23T21:06:31.109647Z","severity":"high","cvss_score":7.3,"epss":0.00286,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":"github.com/traPtitech/traQ","vuln_id":"CVE-2026-63197","vuln_ids":["CVE-2026-63197","GHSA-P74G-F95M-7FX7","GO-2026-6944"],"tags":["osv","go","fix-available"],"cluster_id":14767,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/16654","html":"https://vulnwatch.ve1ve2.com/item/16654"}},{"id":16587,"source":{"id":"osv","name":"OSV.dev"},"title":"GHSA-p74g-f95m-7fx7: traQ: XSS in the User Uploaded File Retrieval API","summary":"traQ: XSS in the User Uploaded File Retrieval API\n\n### Impact\n\nFor instances where `TRAQ_STORAGE_TYPE` is set to `local`, the file retrieval API `/files/{fileId}` could serve user-uploaded SVG or HTML files in a way that allowed them to be rendered directly in the browser.\n\nAs a result, an attacker who can upload files to traQ could upload a crafted SVG or HTML file and trick a victim into opening the file URL, allowing the attacker to execute arbitrary JavaScript in the victim's browser.\n\n### Patches\n\nThis issue has been fixed in v3.28.3.\n\nAfter this fix, the file retrieval API always adds the `Content-Disposition` header to its responses regardless of the value of the `dl` query parameter. This prevents user-uploaded files from being displayed directly in the browser.\n\n### Workarounds\n\nTo mitigate the impact of this issue, apply either of the following workarounds:\n\n* Change `TRAQ_STORAGE_TYPE` to a storage backend other than `local`.\n* Ensure that all requests to `/files/{fileId}` include `dl=1`.\n\nUsers of this application can reduce the risk of exploitation by avoiding suspicious file URLs.\n\nAffected: Go:github.com/traPtitech/traQ\n\nFixed in: 1.0.0-rc.2.0.20260627142846-3db29e777166\n\nReferences:\nhttps://github.com/traPtitech/traQ/security/advisories/GHSA-p74g-f95m-7fx7\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-63197\nhttps://github.com/traPtitech/traQ/commit/3db29e7771661f6418d88d186d8ff7817f5d6b6e\nhttps://github.com/traPtitech/traQ\nhttps://github.com/traPtitech/traQ/releases/tag/v3.28.3","url":"https://osv.dev/vulnerability/GHSA-p74g-f95m-7fx7","published_at":"2026-11-09T20:52:49Z","updated_at":"2026-11-23T20:41:00.205930Z","fetched_at":"2026-11-23T21:06:31.109588Z","severity":"high","cvss_score":7.3,"epss":0.00286,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":"github.com/traPtitech/traQ","vuln_id":"CVE-2026-63197","vuln_ids":["CVE-2026-63197","GHSA-P74G-F95M-7FX7","GO-2026-6944"],"tags":["osv","go","fix-available"],"cluster_id":14766,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/16587","html":"https://vulnwatch.ve1ve2.com/item/16587"}}]}