traQの脆弱性によりファイルURLを開いた利用者のブラウザでスクリプトが実行される恐れ
Summary
traQの一部の構成で、アップロードされたSVGやHTMLファイルを取得するAPIがそのままブラウザで表示されるため、細工されたファイルのURLを開かされた利用者のブラウザで攻撃者が用意したJavaScriptが実行される恐れがあります。影響を受けるのは3.28.3より前のバージョンで、3.28.3で修正されています。3.28.3以降へのアップデートを進めてください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
traQの一部の構成で、アップロードされたSVGやHTMLファイルを取得するAPIがそのままブラウザで表示されるため、細工されたファイルのURLを開かされた利用者のブラウザで攻撃者が用意したJavaScriptが実行される恐れがあります。影響を受けるのは3.28.3より前のバージョンで、3.28.3で修正されています。3.28.3以降へのアップデートを進めてください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| traPtitechtraQ | — | Not listed |
| gogithub.com/traPtitech/traQ |
< 1.0.0-rc.2.0.20260627142846-3db29e777166→ 1.0.0-rc.2.0.20260627142846-3db29e777166 |
1.0.0-rc.2.0.20260627142846-3db29e777166 |
Original description The description as published by the source.
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: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- web github.com
- web github.com