Filament Formsのリッチエディターに脆弱性、保存されたコードが実行されるおそれ
Summary
Filament Formsのリッチエディターで、メンション(言及)ノードに保存された表示用の属性が十分にフィルタリングされず、ほかの利用者がその内容を表示したときに意図しないスクリプトが動くおそれがあります。影響するのは4.17.0より前の4系と5.12.0より前の5系で、修正版の4.17.0と5.12.0以降に更新してください。Filament v3はこの実装を使わないため影響を受けません。
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.
Filament Formsのリッチエディターで、メンション(言及)ノードに保存された表示用の属性が十分にフィルタリングされず、ほかの利用者がその内容を表示したときに意図しないスクリプトが動くおそれがあります。影響するのは4.17.0より前の4系と5.12.0より前の5系で、修正版の4.17.0と5.12.0以降に更新してください。Filament v3はこの実装を使わないため影響を受けません。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| composerfilament/forms |
>= 4.0.0, < 4.17.0→ 4.17.0 |
4.17.0 |
| composerfilament/forms |
>= 5.0.0, < 5.12.0→ 5.12.0 |
5.12.0 |
Original description The description as published by the source.
RichEditor mention nodes can store additional presentation attributes alongside mention data. In affected versions, client-supplied presentation attributes were rendered in editable and disabled RichEditor content without sufficient filtering.
An attacker who can save RichEditor content could cause unintended script behavior when another user renders the affected content. Filament now discards stored mention presentation attributes and derives them only from the server-configured mention provider. Filament v3 does not use this mention implementation and is not affected.
Discovered by Anthropic's OSS Scanner, as vulnerability ANT-2026-B53NOLEA.
Source: GitHub Repository Security Advisories (Game のスタック) GitHub Advisory OSV
References
- GITHUB_REPO_ADVISORY filamentphp/filament