Ci4-cms-erpのCi4MSにおけるクロスサイトスクリプティングの脆弱性
| Title |
Ci4-cms-erpのCi4MSにおけるクロスサイトスクリプティングの脆弱性
|
| Summary |
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で修正されました。
|
| Possible impacts |
当該ソフトウェアが扱う情報の一部が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う情報の一部が書き換えられる可能性があります。 さらに、当該ソフトウェアは停止しません。 そして、この脆弱性を悪用した攻撃により、他のソフトウェアにも影響が及ぶ可能性があります。 |
| Solution |
正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date |
April 8, 2026, midnight |
| Registration Date |
April 23, 2026, 10:12 a.m. |
| Last Update |
April 23, 2026, 10:12 a.m. |
|
CVSS3.0 : 警告
|
| Score |
4.8
|
| Vector |
CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
Affected System
| Ci4-cms-erp |
|
Ci4MS 0.31.3.0 およびそれ以前
|
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
| No |
Changed Details |
Date of change |
| 1 |
[2026年04月23日] 掲載 |
April 23, 2026, 10:12 a.m. |
NVD Vulnerability Information
CVE-2026-39390
| Summary |
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.
|
| Publication Date |
April 9, 2026, 12:16 a.m. |
| Registration Date |
April 15, 2026, 11:32 a.m. |
| Last Update |
April 22, 2026, 2:34 a.m. |
Affected software configurations
| Configuration1 |
or higher |
or less |
more than |
less than |
| cpe:2.3:a:ci4-cms-erp:ci4ms:*:*:*:*:*:*:*:* |
|
0.31.3.0 |
|
|
Related information, measures and tools
Common Vulnerabilities List