{"id":"CVE-2026-63197","aliases":["CVE-2026-63197","GHSA-p74g-f95m-7fx7","GO-2026-6944"],"related":[],"kind":"vulnerability","state":"published","title":"traQ: XSS in the User Uploaded File Retrieval API","summary":"traQ is a messenger application built for Digital Creators Club traP. Prior to 3.28.3, instances configured with TRAQ_STORAGE_TYPE=local can return user-uploaded SVG or HTML content from the /files/{fileId} retrieval endpoint for direct browser rendering. An attacker with file-upload capability can provide crafted active content and induce another user to open its file URL, causing attacker-controlled JavaScript to execute in the victim's browser. This issue is fixed in version 3.28.3.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"traQ is a messenger application built for Digital Creators Club traP. Prior to 3.28.3, instances configured with TRAQ_STORAGE_TYPE=local can return user-uploaded SVG or HTML content from the /files/{fileId} retrieval endpoint for direct browser rendering. An attacker with file-upload capability can provide crafted active content and induce another user to open its file URL, causing attacker-controlled JavaScript to execute in the victim's browser. This issue is fixed in version 3.28.3.","source":"cvelist"},{"lang":"en","text":"### 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.","format":"markdown","source":"ghsa"},{"lang":"en","text":"traQ: XSS in the User Uploaded File Retrieval API in github.com/traPtitech/traQ","format":"markdown","source":"go"}],"published":"2026-11-03T18:26:21.224Z","modified":"2026-11-23T20:41:00.205Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","score":7.3,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","score":7.3,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","score":7.3,"rating":"HIGH"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 3.28.3","status":"affected"}],"vendor":"traPtitech","product":"traQ","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.0.0-rc.2.0.20260627142846-3db29e777166"}],"ecosystem":"Go","package":"github.com/traPtitech/traQ","purl":"pkg:golang/github.com/traPtitech/traQ","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.0.0-rc.2.0.20260627142846-3db29e777166"}],"ecosystem":"Go","package":"github.com/traPtitech/traQ","purl":"pkg:golang/github.com/traPtitech/traQ","source":"go"}],"references":[{"url":"https://github.com/traPtitech/traQ/security/advisories/GHSA-p74g-f95m-7fx7","tags":["advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/traPtitech/traQ/commit/3db29e7771661f6418d88d186d8ff7817f5d6b6e","tags":["fix","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/traPtitech/traQ/releases/tag/v3.28.3","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63197","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/traPtitech/traQ","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-11-03T22:36:37.509Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-63197","url":"https://www.cve.org/CVERecord?id=CVE-2026-63197","licence":"CVE Terms of Use","modified":"2026-11-03T22:40:46.296Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-p74g-f95m-7fx7","url":"https://github.com/advisories/GHSA-p74g-f95m-7fx7","licence":"CC-BY-4.0","modified":"2026-11-23T20:41:00.205Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-6944","url":"https://pkg.go.dev/vuln/GO-2026-6944","licence":"CC-BY-4.0","modified":"2026-11-23T20:30:12.605Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-63197","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63197","licence":"Public domain","modified":"2026-11-12T22:18:51.470Z"}],"updatedAt":"2026-11-25T22:59:48.592Z","epss":{"score":0.00303,"percentile":0.24829,"date":"2026-12-01T12:00:22.000Z"}}