CVE-2014-0046:
ember-source Cross-site Scripting vulnerability
2.6
CVSS Score
Basic Information
CVE ID
GHSA ID
EPSS Score
0.65707%
CWE
Published
8/28/2018
Updated
9/27/2023
KEV Status
No
Technology
Ruby
Technical Details
CVSS Vector
AV:N/AC:H/Au:N/C:N/I:P/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
ember-source | rubygems | >= 1.2.0, < 1.2.2 | 1.2.2 |
ember-source | rubygems | >= 1.3.0, < 1.3.2 | 1.3.2 |
ember-source | rubygems | >= 1.4.0-beta.1, < 1.4.0-beta.6 | 1.4.0-beta.6 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from the link-to helper's handling of title attributes in non-block form. The commit diffs show the fix added escaping via Handlebars.Utils.escapeExpression
to the title value processing path. Specifically, the anonymous function
assigned to options.fn in the 'ID' linkType branch lacked proper escaping before the patch. The added test cases verify HTML escaping behavior for dynamic title values, confirming the vulnerability existed in the title attribute handling path of the link-to helper's implementation.