CVE-2021-4116: yetiforcecrm is vulnerable to Cross-site Scripting
6.6
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.35996%
CWE
Published
12/16/2021
Updated
2/1/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
yetiforce/yetiforce-crm | composer | <= 6.3.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper sanitization of user-controlled file names before storing/displaying. The patch adds Purifier::purify()
to these file name handling functions, indicating they previously lacked XSS protections. These functions process()
uploaded file metadata that gets displayed in the web interface, making them direct injection points. The high confidence comes from the explicit addition of sanitization in the security patch and the CWE-79 XSS classification.