Skip to content

Bump fast-xml-parser from 5.9.3 to 5.10.1 - #7

Merged
kpab merged 1 commit into
mainfrom
fix/fast-xml-parser-ghsa-8r6m
Jul 28, 2026
Merged

Bump fast-xml-parser from 5.9.3 to 5.10.1#7
kpab merged 1 commit into
mainfrom
fix/fast-xml-parser-ghsa-8r6m

Conversation

@kpab

@kpab kpab commented Jul 28, 2026

Copy link
Copy Markdown
Owner

概要

Dependabot アラート #3High)を解消します。

  • GHSA-8r6m-32jq-jx6qfast-xml-parser で DOCTYPE 宣言を繰り返すとエンティティ展開の上限がリセットされ、細工した XML で CPU / メモリを枯渇させられる(CWE-776)
  • 影響範囲: >= 5.9.3, < 5.10.1 / 修正版: 5.10.1

変更内容

pnpm-lock.yaml のみ(+19 / -13)。

依存経路は @astrojs/rss@4.0.19fast-xml-parser の推移依存で、@astrojs/rss 側の指定 ^5.5.7 が既に修正版を許容しているため package.json の変更は不要です。lockfile の差分は fast-xml-parser とその配下(@nodable/entitiesis-unsafexml-naming)に限られ、astro など他パッケージには波及していません。

実リスク

本テーマでの @astrojs/rss の用途は src/pages/rss.xml.ts でのビルド時 RSS 生成のみで、外部から受け取った XML をパースする箇所はありません。実質的な攻撃面はほぼありませんが、テンプレートリポジトリとして配布する以上、利用者が別用途で使う可能性を考慮して更新します。

確認したこと

  • pnpm audit → No known vulnerabilities found
  • pnpm build 成功、dist/rss.xml も正常に生成(フィード内容に問題なし)

Fixes GHSA-8r6m-32jq-jx6q (high): repeated DOCTYPE declarations reset
entity expansion limits in fast-xml-parser, allowing a crafted XML
document to exceed configured limits and exhaust CPU/memory.

Pulled in transitively via @astrojs/rss, whose range (^5.5.7) already
allows the patched version, so only the lockfile changes.
@kpab kpab self-assigned this Jul 28, 2026
@kpab
kpab merged commit d5c69f1 into main Jul 28, 2026
4 checks passed
@kpab
kpab deleted the fix/fast-xml-parser-ghsa-8r6m branch July 28, 2026 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant