Postizの公開プレビュー画面に脆弱性、マウス操作でスクリプトが実行されるおそれ
Summary
Postizの公開プレビュー画面で、ツールチップの属性に仕込まれたHTMLが保存・表示され、閲覧者がマウスを重ねるとスクリプトが実行されるおそれがあります。影響するのは2.21.8以上2.26.1未満のpostiz-appで、修正版は2.26.1です。該当する版を使っている場合は、2.26.1へ更新してください。
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.
Postizの公開プレビュー画面で、ツールチップの属性に仕込まれたHTMLが保存・表示され、閲覧者がマウスを重ねるとスクリプトが実行されるおそれがあります。影響するのは2.21.8以上2.26.1未満のpostiz-appで、修正版は2.26.1です。該当する版を使っている場合は、2.26.1へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| GitroomHQpostiz-app |
≥ 2.21.8, < 2.26.1→ 2.26.1 |
2.26.1 |
Original description The description as published by the source.
Postiz sanitizes post content when it is saved and again when the public preview page renders it, keeping only an allowlist of tags and attributes. The sanitizer still let every data and aria attribute through, whatever its name or value. The preview page includes a tooltip component that renders the HTML found in the data-tooltip-html attribute of any element in the page that refers to it.
A post containing an element with those tooltip attributes was therefore stored and rendered unchanged, and when a visitor moved the mouse over it, the tooltip inserted the attribute's markup into the page as live HTML. The script runs on the application's origin with the visitor's session.
Source: CVE.org (CVE Program・cvelistV5) NVD
References
- advisory github.com
- advisory nvd.nist.gov
- web github.com
- web github.com
- web github.com
- web gadvisory.org