要点
- CVE-2026-25491 は craftcms/cms, craft cms (craftcms) に影響する深刻度「中」 (CVSS 4.8) の脆弱性です。
- 今後30日間に悪用される確率(EPSS):0.36%(全脆弱性の 29.5% より高い)。
- 対処:5.8.22, 5.8.21 以降に更新してください。
| パッケージ | 影響を受けるバージョン | 修正済みバージョン |
|---|
| craftcms/cms Packagist | ≥ 5.0.0-RC1, < 5.8.22
| 5.8.22
|
| craft cms | ≥ 5.0.0, < 5.8.21
| 5.8.21
|
概要
Summary
Stored XSS via Entry Type names. The name is not sanitized when displayed in the Entry Types list.
Proof of Concept
Required Permissions (Attacker)
- Admin access (only admins have access to the settings page)
allowAdminChanges is enabled in production, which is against our security recommendations.
Steps to Reproduce
- Log in as an attacker.
- Go to Settings -> Entry Types (
/admin/settings/entry-types).
- Create a new Entry Type.
- Set Name to:
<img src=x onerror="alert('XSS-EntryTypes')" hidden>
- Save the Entry Type, and you’ll be redirected back to the entry types table automatically.
- Notice the alert fires when the entry types table renders.
NVD の説明
Craft is a platform for creating digital experiences. From 5.0.0-RC1 to 5.8.21, Craft has a stored XSS via Entry Type names. The name is not sanitized when displayed in the Entry Types list. This vulnerability is fixed in 5.8.22.
これらの製品をお使いですか?サイトをスキャンして、脆弱なバージョンが公開されていないか確認しましょう。
無料でサイトをスキャン