CVE-2018-20975: Cross-site scripting in fat_free_crm
6.1
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.53005%
CWE
Published
8/21/2019
Updated
8/25/2023
KEV Status
No
Technology
Ruby
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
fat_free_crm | rubygems | < 0.18.1 | 0.18.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The commit 6d60bc8 explicitly shows the addition of escape_javascript(query) to sanitize the 'query' parameter in tags_helper.rb. The unescaped interpolation of 'query' into a JavaScript context (crm.search_tagged) in the original code would allow attackers to inject arbitrary scripts. The CVE description and patch context confirm this was the XSS vector.