SECURITY セキュリティ情報
2026/10/22 baserCMSにSQLインジェクションをはじめとする複数の脆弱性
baserCMSにXSSをはじめとする複数の脆弱性があります。
対象となる方は、早急に新バージョンへアップデートをお願いします。
対象
baserCMS 5.0.0 〜 5.4.1
脆弱性
これらの脆弱性が悪用されると、閲覧者のブラウザ上で任意のスクリプトを実行される、サイト名義で迷惑メールを送信される、データベースやサーバー上の情報を取得・改ざんされる、任意のコードを実行されるなどの可能性があります。
1. ブログコメントのショートコード展開による格納型クロスサイトスクリプティング(GHSA-qhv2-3j2q-v43x)
2. メールフォームの公開 Web API における画像認証の回避(GHSA-cpxq-6gjp-m59g)
3. メールフォームの自動返信における宛先の入力値検証不備(GHSA-w47c-4g8m-gjv9)
4. 管理画面・管理 API における SQL インジェクション(GHSA-2w6g-wp3r-26m3)
5. テーマファイル管理 API におけるパストラバーサル(GHSA-q7g3-qwrc-mp89)
6. テーマファイル管理画面におけるパストラバーサルによる任意ファイルの閲覧(GHSA-rqr8-gmx5-xvrr)
7. カスタムコンテンツのファイルフィールドにおける危険な種類のファイルのアップロード(GHSA-8jrp-4h7c-m679)
8. ウィジェットエリアにおける安全でないデシリアライゼーション(GHSA-xf6p-r2hc-cc6w)
4〜8については管理画面を不特定多数のユーザーに利用させている場合のみに対応が必要となる脆弱性です。
対策
baserCMS 5.4.2 または 5.3.2 以降にアップデートを行う
関連情報
GHSA-qhv2-3j2q-v43x
GHSA-cpxq-6gjp-m59g
GHSA-w47c-4g8m-gjv9
GHSA-2w6g-wp3r-26m3
GHSA-q7g3-qwrc-mp89
GHSA-rqr8-gmx5-xvrr
GHSA-8jrp-4h7c-m679
GHSA-xf6p-r2hc-cc6w
謝辞
- valmet083(GHSA-qhv2-3j2q-v43x、GHSA-xf6p-r2hc-cc6w)
- lanchunhlucky(GHSA-cpxq-6gjp-m59g)
- kuma-ican(GHSA-w47c-4g8m-gjv9)
- 4n86rakam1(GHSA-q7g3-qwrc-mp89、GHSA-8jrp-4h7c-m679)
- yussy15(GHSA-rqr8-gmx5-xvrr)
=========================================================================
baserCMS has multiple vulnerabilities including XSS.
If you are affected by this issue, please update to the new version as soon as possible.
Target
baserCMS 5.0.0 - 5.4.1
Vulnerability
If these vulnerabilities are exploited, an arbitrary script may be executed in a visitor's browser, spam may be sent in the name of the site, information in the database or on the server may be obtained or altered, or arbitrary code may be executed.
1. Stored cross-site scripting via shortcode expansion in blog comments (GHSA-qhv2-3j2q-v43x)
2. Image captcha bypass in the public Web API of mail forms (GHSA-cpxq-6gjp-m59g)
3. Improper input validation of recipient addresses in mail form auto-replies (GHSA-w47c-4g8m-gjv9)
4. SQL injection in the admin panel and admin API (GHSA-2w6g-wp3r-26m3)
5. Path traversal in the theme file API (GHSA-q7g3-qwrc-mp89)
6. Arbitrary file read via path traversal in the theme file admin screen (GHSA-rqr8-gmx5-xvrr)
7. Unrestricted upload of dangerous file types in custom content file fields (GHSA-8jrp-4h7c-m679)
8. Insecure deserialization in widget areas (GHSA-xf6p-r2hc-cc6w)
Items 4 - 8 only require action if the admin panel is made available to an unspecified number of users.
Countermeasures
Update baserCMS to version 5.4.2 or 5.3.2 or later
Related Information
GHSA-qhv2-3j2q-v43x
GHSA-cpxq-6gjp-m59g
GHSA-w47c-4g8m-gjv9
GHSA-2w6g-wp3r-26m3
GHSA-q7g3-qwrc-mp89
GHSA-rqr8-gmx5-xvrr
GHSA-8jrp-4h7c-m679
GHSA-xf6p-r2hc-cc6w
Credits
- valmet083 (GHSA-qhv2-3j2q-v43x, GHSA-xf6p-r2hc-cc6w)
- lanchunhlucky (GHSA-cpxq-6gjp-m59g)
- kuma-ican (GHSA-w47c-4g8m-gjv9)
- 4n86rakam1 (GHSA-q7g3-qwrc-mp89, GHSA-8jrp-4h7c-m679)
- yussy15 (GHSA-rqr8-gmx5-xvrr)
