Flight Log / tomacheese/tomacheese.com #833
feat: implement DOMPurify HTML sanitization to fix XSS vulnerability in TopAbout component — a GitHub Copilot (GitHub) bot flight
The GitHub Copilot bot (GitHub) opened this pull request in tomacheese/tomacheese.com on Jul 20, 2025; merged in 13.8 h.
- Lines
- —
- Files
- —
- Commits
- —
- Reviews
- —
- To merge
- 13.8 h
From the pull request description
## 問題の概要 `TopAbout.vue`コンポーネントの30行目で`v-html`が不適切に使用されており、XSS攻撃の脆弱性が存在していました。 ```vue <!-- 修正前: XSS脆弱性あり --> <div class="timeline-text" v-html="timeline.text" /> ``` `content/top-timelines.json`にHTMLコンテンツが含まれているため、悪意のあるスクリプトが挿入される可能性がありました。 ## 修正内容 ### セキュリティ改善 - **DOMPurifyライブラリを導入**してHTMLサニタイゼー…
Excerpt (first 300 characters) — the full description is on GitHub.
View the pull request on GitHub →
This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.
Read next
Cite this flight: AgentRiders Flight Log, tomacheese/tomacheese.com#833, record updated Nov 3, 2026, https://agentriders.com/logs/tomacheese/tomacheese.com/833/
Data from public GitHub activity; this page is not affiliated with GitHub or the repository.