Miggo Logo

CVE-2014-0013:
Ember.js Cross-site Scripting vulnerability

5.4

CVSS Score
3.0

Basic Information

EPSS Score
0.42886%
Published
5/14/2022
Updated
1/27/2023
KEV Status
No
Technology
TechnologyRuby

Technical Details

CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
ember-sourcerubygems>= 1.0.0.pre4.0, < 1.0.11.0.1
ember-sourcerubygems>= 1.1.0, < 1.1.31.1.3
ember-sourcerubygems>= 1.2.0.beta.1, < 1.2.11.2.1
ember-sourcerubygems>= 1.3.0.beta.1, < 1.3.11.3.1
ember-sourcerubygems= 1.4.0-beta.11.4.0-beta.2

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability description explicitly links XSS exploitation to templates using {{this}} with user-supplied primitive values. This indicates the root cause is in the template engine's handling of the {{this}} special variable when the context is a non-object primitive. The HTMLBars subsystem (Ember's template engine) would be responsible for rendering this value without proper escaping. While exact file paths aren't provided in available resources, Ember's architecture places template rendering logic in HTMLBars packages. The confidence is high because the attack vector directly maps to template engine behavior described in advisories, even without specific commit diffs.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

*m**r.js *.*.x ***or* *.*.*, *.*.x ***or* *.*.*, *.*.x ***or* *.*.*, *.*.x ***or* *.*.*, *n* *.*.x ***or* *.*.*-**t*.* *llows r*mot* *tt**k*rs to *on*u*t *ross-sit* s*riptin* (XSS) *tt**ks *y l*v*r**in* *n *ppli**tion t**t *ont*ins t*mpl*t*s w*os* *o

Reasoning

T** vuln*r**ility **s*ription *xpli*itly links XSS *xploit*tion to t*mpl*t*s usin* `{{t*is}}` wit* us*r-suppli** primitiv* v*lu*s. T*is in*i**t*s t** root **us* is in t** t*mpl*t* *n*in*'s **n*lin* o* t** `{{t*is}}` sp**i*l v*ri**l* w**n t** *ont*xt