← Back to CVEs
Krayin CRM

Krayin CRM 2.2.6 Stored Template Injection XSS via Contact Name Field

September 2026 — Common Vulnerabilities and Exposures (CVE)

A GitHub repository version of this disclosure can be read here: CVE-2026-48541.


DetailInformation
CVE RecordCVE-2026-48541
Severity5.1 Medium (CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N)
5.4 Medium (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N)
Date Published2026-09-24
Software NameKrayin CRM
Affected Version(s)0 through 2.2.6
Software Linkhttps://github.com/krayin/laravel-crm/tree/2.2
VendorWebkul
Researcher CreditsAaron Amran Bin Amiruddin (@aaronamran)

Description

Krayin CRM through 2.2.6 contains a stored client-side template injection vulnerability that allows authenticated attackers to execute arbitrary JavaScript in other users' browsers by injecting Vue.js template expressions into the person name field. Attackers can craft a person name containing double-brace template syntax that reaches the Vue template compiler, enabling prototype chain traversal to retrieve the Function constructor and execute attacker-supplied JavaScript in the application origin for every user who views the affected person record.


Proof-of-Concept

1. On a Krayin instance running a version prior to 2.2.6, navigate to Dashboard > Contacts > Persons > Edit Person. Only the Name field requires the payload.

CVE-2026-48541 Image 1

2. Viewing the person will cause an alert box to popup, indicating a successful stored XSS via CSTI.

CVE-2026-48541 Image 2


Vulnerable Code Section

<h3 class="text-lg font-bold dark:text-white">
    {{ $person->name }}
</h3>

Recommended Fix

<h3 class="text-lg font-bold dark:text-white" v-pre>
    {{ $person->name }}
</h3>

Timeline



See you in the next hack.

@aaronamran

September 2026