Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Markdown の XSS attack のリスク #8369

Open
kazuma-naka opened this issue Feb 22, 2025 · 0 comments
Open

Markdown の XSS attack のリスク #8369

kazuma-naka opened this issue Feb 22, 2025 · 0 comments
Labels

Comments

@kazuma-naka
Copy link

概要

日報などの Markdown は HTML で使用されるタグをレンダリングするため XSS attack のリスクがあることを報告します。

再現手順

  1. 日報を新規作成
  2. <svg onload="window.location='https://www.google.com'"></svg> を貼り付ける
  3. 日報を開くと Google.com に遷移する

期待される振る舞い

<svg onload="window.location='https://www.google.com'"></svg> のスクリプトはエスケープされるべきで実行されるべきではない

スクリーンショット

環境

  • OS: Windows
  • ブラウザ: Chrome
  • バージョン:

関連Issue

Ref: #関連Issue番号

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant