← Back to CVEs
Krayin CRM

Krayin CRM 2.2.6 Stored Template Injection XSS via Web Form Description

September 2026 — Common Vulnerabilities and Exposures (CVE)

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


DetailInformation
CVE RecordCVE-2026-48543
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 web form description field. Attackers can craft a web form description 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 web form.


Proof-of-Concept

1. On a Krayin instance running a version prior to 2.2.6, navigate to Dashboard > Settings > Webforms > Edit Webforms. Only the Description field requires the payload. For other input fields or dropdowns, enter any valid inputs.

CVE-2026-48543 Image 1

2. Upon viewing the webform, an alert box will popup, indicating a successful stored XSS via CSTI.

CVE-2026-48543 Image 2


Vulnerable Code Section

<p class="mt-2 text-base text-gray-600">{{ $webForm->description }}</p>

Recommended Fix

<p class="mt-2 text-base text-gray-600" v-pre>{{ $webForm->description }}</p>

Timeline



See you in the next hack.

@aaronamran

September 2026