HeyFormに保存型XSSの脆弱性、アップロードしたHTMLが実行されるおそれ
概要
HeyFormのアップロード機能に保存型XSSの脆弱性が見つかりました。細工したHTMLファイルを開いた利用者のセッションで、データの閲覧や変更が行われるおそれがあります。影響を受けるのは3.0.1より前の版で、3.0.1で修正されています。3.0.1以降へ更新してください。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
HeyFormのアップロード機能に保存型XSSの脆弱性が見つかりました。細工したHTMLファイルを開いた利用者のセッションで、データの閲覧や変更が行われるおそれがあります。影響を受けるのは3.0.1より前の版で、3.0.1で修正されています。3.0.1以降へ更新してください。
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
HeyForm is an open-source form builder. Prior to 3.0.1, /api/upload accepts a file according to the client-controlled multipart file.mimetype while retaining an HTML filename, and static/upload serves the resulting file as text/html with contentSecurityPolicy: false. An ordinary user can therefore upload active HTML that executes on the HeyForm origin when a victim opens its returned URL. The same-origin script can access /graphql with the victim's session and read or modify data available to that account. The code also permits upload requests tied to an active public form through formId, openToken, and a fieldId belonging to a file or signature question, although the advisory did not fully verify that unauthenticated path end to end. This issue is fixed in version 3.0.1.
出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
参照URL
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- web github.com