Tóm tắt nhanh
- CVE-2026-25491 là lỗ hổng mức TRUNG BÌNH (CVSS 4.8) ảnh hưởng craftcms/cms, craft cms (craftcms).
- Xác suất bị khai thác trong 30 ngày tới (EPSS): 0.36%, cao hơn 29.6% các lỗ hổng khác.
- Cách xử lý: cập nhật lên 5.8.22, 5.8.21 hoặc mới hơn.
| Gói / sản phẩm | Phiên bản bị ảnh hưởng | Phiên bản đã vá |
|---|
| craftcms/cms Packagist | ≥ 5.0.0-RC1, < 5.8.22
| 5.8.22
|
| craft cms | ≥ 5.0.0, < 5.8.21
| 5.8.21
|
Mô tả
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.
Mô tả của 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.
Bạn đang dùng một trong các sản phẩm này? Quét site để biết có đang lộ phiên bản có lỗ hổng không.
Quét site miễn phí