CVE-2022-3004: YetiForce CRM vulnerable to stored Cross-site Scripting via WorkFlow module
5.4
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.24891%
CWE
Published
9/21/2022
Updated
1/30/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
yetiforce/yetiforce-crm | composer | <= 6.4.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from two key issues: 1) Inadequate input sanitization when saving workflow task metadata (TaskAjax.php), and 2) Missing output encoding in multiple workflow configuration templates. The patch adds HTML escaping to template variables and implements proper input validation in the PHP controller, confirming these were the vulnerable points. The XSS occurs through workflow configuration fields that stored unescaped user input and later rendered it unsafely.