Technical impact
The flaw is a stored cross‑site scripting vulnerability that allows an attacker who can upload files to craft an SVG or HTML file containing malicious JavaScript. When another user accesses the file URL via the /files/{fileId} endpoint, the script runs in the victim’s browser, potentially exposing data or hijacking the session. The weakness is a classic CWE‑79 type of input validation flaw that can lead to disclosure of sensitive information and possible compromise of the user’s workstation.
Affected Systems
The problem affects all traQ installations running any version prior to 3.28.3 that have TRAQ_STORAGE_TYPE set to local. The fix in 3.28.3 removes the ability to serve raw SVG or HTML content for browser rendering.
Risk and Exploitability
This is a client‑side vulnerability, but it can be triggered by any authenticated attacker with the ability to upload files, and any user who opens the resulting link. The CVSS score of 7.3 indicates a high impact, though the EPSS score is unavailable. The vulnerability is not listed in CISA’s KEV catalog. The attacker can exploit it without advanced privileges beyond file‑upload capability, making it relatively easy for a malicious actor in the same network or on a shared instance to abuse the flaw.
Github GHSA