| タイトル | Ci4-cms-erpのCi4MSにおけるクロスサイトスクリプティングの脆弱性 |
|---|---|
| 概要 | CI4MSはCodeIgniter 4ベースのCMSスケルトンであり、RBAC認可とテーマサポートを備え、本番環境に対応したモジュラーアーキテクチャを提供します。0.31.4.0以前のバージョンでは、compInfosPost()内のGoogle Mapsのiframe設定(cMapフィールド)において、iframeの許可リストと正規表現によるon\w+イベントハンドラの除去を用いたstrip_tags()で入力をサニタイズしていました。しかし、srcdoc属性はイベントハンドラではないため、すべてのフィルターを通過してしまいます。管理者設定へのアクセス権を持つ攻撃者は、HTMLエンティティエンコードされたJavaScriptを含む<iframe srcdoc="...">のペイロードを注入でき、これが認証されていないフロントエンド訪問者にレンダリングされる際に親ページのコンテキストで実行されます。この脆弱性は0.31.4.0で修正されました。 |
| 想定される影響 | 当該ソフトウェアが扱う情報の一部が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う情報の一部が書き換えられる可能性があります。 さらに、当該ソフトウェアは停止しません。 そして、この脆弱性を悪用した攻撃により、他のソフトウェアにも影響が及ぶ可能性があります。 |
| 対策 | 正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| 公表日 | 2026年4月8日0:00 |
| 登録日 | 2026年4月23日10:12 |
| 最終更新日 | 2026年4月23日10:12 |
| CVSS3.0 : 警告 | |
| スコア | 4.8 |
|---|---|
| ベクター | CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
| Ci4-cms-erp |
| Ci4MS 0.31.3.0 およびそれ以前 |
| No | 変更内容 | 変更日 |
|---|---|---|
| 1 | [2026年04月23日] 掲載 |
2026年4月23日10:12 |
| 概要 | CI4MS is a CodeIgniter 4-based CMS skeleton that delivers a production-ready, modular architecture with RBAC authorization and theme support. Prior to 0.31.4.0, the Google Maps iframe setting (cMap field) in compInfosPost() sanitizes input using strip_tags() with an <iframe> allowlist and regex-based removal of on\w+ event handlers. However, the srcdoc attribute is not an event handler and passes all filters. An attacker with admin settings access can inject an <iframe srcdoc="..."> payload with HTML-entity-encoded JavaScript that executes in the context of the parent page when rendered to unauthenticated frontend visitors. This vulnerability is fixed in 0.31.4.0. |
|---|---|
| 公表日 | 2026年4月9日0:16 |
| 登録日 | 2026年4月15日11:32 |
| 最終更新日 | 2026年4月22日2:34 |
| 構成1 | 以上 | 以下 | より上 | 未満 | |
| cpe:2.3:a:ci4-cms-erp:ci4ms:*:*:*:*:*:*:*:* | 0.31.3.0 | ||||