CVE-2021-41924:
Cross-site Scripting in krayin/laravel-crm
6.1
CVSS ScoreBasic Information
CVE ID
GHSA ID
EPSS Score
-
CWE
Published
6/22/2022
Updated
1/27/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
krayin/laravel-crm | composer | < 1.2.2 | 1.2.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The key evidence comes from the commit diff showing replacement of v-html with v-text in table-body.vue. Vue's v-html directive directly interprets HTML without sanitization, making it XSS-prone when rendering user-controlled data. The patch specifically addresses this by switching to text interpolation which auto-escapes content. The file path and component match the vulnerability context described in the advisory.