All vulnerabilities

Go

CVE-2026-63197

traQ: XSS in the User Uploaded File Retrieval API

Severity
High 7.3
Published
9 Nov 2026
Last changed
9 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
1.0.0-rc.2.0.20260627142846-3db29e777166
Exploit chance
0.3% in the next 30 daysHigher than 21% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Cross-site scripting (CWE-79)
Attack
Over the network · Needs a user account · Needs someone to click or open something
Attacker can
Read data · Change data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
Also known as
GHSA-p74g-f95m-7fx7
Sources
OSV.dev and GitHub

Description

For 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.

As 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.

From the GitHub Advisory Database, CC BY 4.0.

Workarounds

To mitigate the impact of this issue, apply either of the following workarounds:

  • Change TRAQ_STORAGE_TYPE to a storage backend other than local.
  • Ensure that all requests to /files/{fileId} include dl=1.

Users of this application can reduce the risk of exploitation by avoiding suspicious file URLs.

Workarounds as given by the GitHub Advisory Database, CC BY 4.0.

Affected software

SoftwareAffected versions
github.com/traPtitech/traQGo · osv:Go:github.com/traPtitech/traQ
  • Every version before 1.0.0-rc.2.0.20260627142846-3db29e777166

About github.com/traPtitech/traQ

Vulnerabilities in github.com/traPtitech/traQ

In our list
2
Published in the last 12 months
2
Critical, last 12 months
0
High, last 12 months
2
Known exploited
0
Search the list for github.com/traPtitech/traQ

References