Skip to main content

Webkul Krayin CRM EUVDEUVD-2026-28390

| CVE-2026-36341 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-05-07 cve@mitre.org GHSA-j822-46r5-h4qx
5.4
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Authenticate to admin panel
  2. Delivery
    Navigate to Activity creation form
  3. Exploit
    Inject JavaScript in comment field
  4. Install
    Submit activity
  5. C2
    Wait for admin to view activity
  6. Execute
    XSS payload executes in victim browser
  7. Impact
    Steal session token or perform admin actions

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires: (1) Valid authenticated access to Krayin CRM admin panel with permission to create or edit Activities (PR:L per CVSS vector); (2) The specific /admin/activities/create endpoint must be accessible and process comment input without sanitization; (3) A second user (administrator or with view privileges) must access the activity containing the payload to trigger execution (UI:R - user interaction required); (4) The activity data must not be sanitized or escaped at retrieval time (already confirmed in v2.1.5 code). Exploitation does NOT require administrative privileges for the initial injection user if Activity creation is open to lower-privilege roles. Default Krayin CRM installations with standard role-based access control (RBAC) limit this to users with explicit activity-create permissions, restricting the attacker pool. The vulnerability is NOT exploitable via direct unauthenticated network access; an authenticated session is mandatory.

Impact

CVSS 5.4 (AV:N/AC:L/PR:L/UI:R/S:C) indicates network-accessible vulnerability requiring authenticated access, low complexity exploitation, user interaction for payload execution, and changed scope with limited confidentiality and integrity impact. SSVC framework confirms exploitation=poc (proof-of-concept available), automatable=no (requires user interaction and authentication), and technical-impact=partial (affects confidentiality and integrity but not availability). These signals align coherently: the vulnerability is exploitable via publicly disclosed code but requires specific preconditions (authenticated admin user, victim interaction). Real-world risk is moderate-not all Krayin CRM deployments expose admin interfaces to untrusted authenticated users, and XSS in admin panels typically affects session hijacking or credential theft rather than large-scale compromise. The requirement for UI interaction (viewing a crafted activity) and authentication (PR:L) substantially reduces practical exploitation probability compared to unauthenticated network vulnerabilities. However, if CRM deployments permit user-created activities or allow external collaborators admin access, risk elevates significantly. No EPSS score provided to compare against CVSS magnitude.

Exploit ScenarioDerived

An authenticated administrator or user with Activity creation privileges injects malicious JavaScript (e.g., <script>fetch('/admin/users', {headers: {'Authorization': 'Bearer ' + localStorage.token}})</script>) into the Activity comment field during activity creation. When another administrator views the created activity or activity list, the stored XSS payload executes in their browser context, potentially stealing session tokens, CSRF tokens, or redirecting them to a phishing page. Public proof-of-concept code at https://github.com/cybercrewinc/CVE-2026-36341 demonstrates payload construction.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 07, 2026

Stored cross-site scripting (XSS) in Webkul Krayin CRM v2.1.5 allows authenticated users to inject malicious scripts via unsanitized input in the Activity comment field on the /admin/activities/create endpoint, which execute when viewed by other administrators. The vulnerability requires user interaction (viewing the compromised activity) and authenticated access, limiting scope to C (confidentiality) and I (integrity) with partial impact; publicly available proof-of-concept code exists but exploitation is not confirmed in the wild. Fixed in version v2.1.6 via application of input sanitization using strip_tags() across multiple vulnerable Blade templates.

RemediationAI

Upgrade to Webkul Krayin CRM v2.1.6 or later immediately, which applies strip_tags() sanitization across all vulnerable Blade templates (confirmed via GitHub PR #2401). For deployments unable to upgrade immediately, restrict admin panel access to trusted internal users only via network segmentation or IP whitelisting on the /admin/activities/create endpoint, and disable Activity comment functionality if not essential. Additionally, implement Content Security Policy (CSP) headers with script-src 'self' to mitigate stored XSS payload execution in the browser as a compensating control, though this does not prevent injection. Monitor admin user activity logs for suspicious activity creation or comments containing HTML/JavaScript syntax. Apply the patch at https://github.com/krayin/laravel-crm/pull/2401 via version upgrade; manual patch application is not recommended due to complexity of template changes across multiple files.

Affected VersionsENISA

n/a n/a

Affected Packages

composer krayin/laravel-crm fix: 2.1.6

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in composer

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Webkul Krayin CRM is a Laravel-based customer relationship management platform. The vulnerability stems from inadequate input validation and output encoding in Blade template rendering. User-supplied data (names, titles, subjects, and comments) is passed directly to @lang() translation functions or {{ }} output constructs without sanitization, allowing HTML and JavaScript injection. The fix applies strip_tags() function during template rendering to remove HTML tags from user-controlled variables before display. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation), a failure to encode or filter user input at the output layer. Multiple templates were affected: contacts/persons/view.blade.php, leads/view.blade.php, products/view.blade.php, configuration/edit.blade.php, mail/view.blade.php, and settings components, indicating systemic lack of output encoding across the codebase.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 5.4 MEDIUM
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

3
CVSS changed
May 07, 2026 - 17:22 NVD
5.4 (MEDIUM)
CVE Published
May 07, 2026 - 16:16 nvd
UNKNOWN (no severity yet)
CVE Published
May 07, 2026 - 16:16 nvd
MEDIUM 5.4

DescriptionCVE.org

Cross-Site Scripting (XSS) vulnerability exists in Webkul Krayin CRM v2.1.5. The application fails to sanitize user-supplied input in the comment field during Activity creation on the /admin/activities/create endpoint

Threat Intelligence Overview

EPSS Score
0.0%
Top 90% exploitable
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

27
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +27
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy