| Название | Krayin laravel-crm master ed6deebfcb8c616eaf352c893a10a6d8e666fc6e (2.2 line) Cross Site Scripting |
|---|
| Описание | A vulnerability has been found in krayin laravel-crm up to 2.2 (master, commit ed6deebfcb8c616eaf352c893a10a6d8e666fc6e). Product source repository: https://github.com/krayin/laravel-crm (tested at the commit above, master / 2.2 line). It has been classified as critical. This affects the mail forward/reply editor initial content: inbound mail HTML reaches the editor without the sanitizer that every sibling render sink on the same data applies. Ingestion stores the reply behind HtmlFilter::process only (blacklist, body-scoped; SendgridEmailProcessor.php line 121), while the automatic sinks use v-safe-html (Admin view.blade.php line 246) and strip_tags (DataGrid.php line 472), and the TinyMCE 6.6.2 editor mount (components/tinymce/index.blade.php line 86) has no valid_elements or sanitize hook. The forward flow serializes the raw Email model into the authenticated page (@json($email) at view.blade.php line 1222) and mounts it as TinyMCE initial content on textarea#reply. Reproduction on a Docker install of the exact commit (PHP 8.3.35 + MySQL 8.0): the sole filter was probed with 9 payload classes; data:text/html URIs survive in href and form action, and the SMIL constructs <svg><a href="#"><animate attributeName="href" values="javascript:VERIFY"> and <svg><set attributeName="onmouseover" to="VERIFY"> pass through verbatim (attribute-name lowercasing only). Controls behaved correctly: on* attributes stripped, script and iframe removed, javascript: URIs rewritten to #. The stored reply carrying the survivors was captured verbatim in the live authenticated page DOM as the editor data source. Attack: an external mail sender (precondition: inbound mail with attacker-chosen HTML body; any deployment with mail ingestion configured) seeds script-class markup that an agent loads into the editor inside an authenticated session when opening forward/reply. End-to-end click execution inside the editor iframe was not demonstrated (composer did not mount for the hand-crafted row in the lab); the missing second sanitizer layer and the filter survivor set are runtime-confirmed. Full reproduction, evidence logs and per-finding verdicts: https://github.com/Rinne666/poc/tree/main/krayin-laravel-crm-poc |
|---|
| Источник | ⚠️ https://github.com/Rinne666/poc/blob/main/krayin-laravel-crm-poc/README.md#v1--mail-forward-editor-renders-unsanitized-inbound-html |
|---|
| Пользователь | qyf20051010 (UID 100545) |
|---|
| Представление | 08.11.2026 15:01 (25 дни назад) |
|---|
| Модерация | 03.12.2026 09:19 (25 days later) |
|---|
| Статус | принято |
|---|
| Запись VulDB | 448598 [krayin laravel-crm до 2.2.8 Mail view.blade.php межсайтовый скриптинг] |
|---|
| Баллы | 20 |
|---|