CVE-2022-3005: YetiForce CRM vulnerable to stored Cross-site Scripting via SlaPolicy module
5.4
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.315%
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 missing output encoding in template files handling SLA Policy data. The patch adds |escape filters and Purifier::encodeHtml calls to these exact locations. The affected template files (CustomConditions.tpl and EditViewBlocks.tpl) contained direct output of user-controlled values in HTML contexts without proper sanitization, making them vulnerable to stored XSS. The JavaScript changes in Detail.js further indicate the frontend relied on properly sanitized backend output.