cve.bz

CVE-2013-4170 emberjs ember.js: Cross-site Scripting

6.1 mediumEPSS 1.0%Fix available

Medium (6.1) in emberjs ember.js. EPSS 1.0% estimated probability of exploitation activity in the next 30 days. Fixed in ember-source 1.0.0.rc1.1, 1.0.0.rc2.1, 1.0.0.rc3.1.

On this page
In general, Ember.js escapes or strips any user-supplied content before inserting it in strings that will be sent to innerHTML. However, the `tagName` property of an `Ember.View` was inserted into such a string without being sanitized. This means that if an application assigns a view's `tagName` to user-supplied data, a specially-crafted payload could execute arbitrary JavaScript in the context of the current domain ("XSS"). This vulnerability only affects applications that assign or bind user-provided content to `tagName`.

Severity

CVSS 3.1

6.1 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS
1.0% (unchanged from 0.9% a week ago; 0.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 62nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2013-4170 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2013-4170?via=ask-ai-copy and https://cve.bz/cve/CVE-2013-4170?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2013-4170 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
emberjs:ember.jsbefore 1.0.0
emberjs:ember.js1.0.0:rc1
emberjs:ember.js1.0.0:rc2
emberjs:ember.js1.0.0:rc3
emberjs:ember.js1.0.0:rc4
emberjs:ember.js1.0.0:rc5
emberjs:ember.js1.0.0:rc6

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-5m48-c37x-f792RubyGemsember-source<1.0.0.rc1.11.0.0.rc1.1
GHSA-5m48-c37x-f792RubyGemsember-source>=1.0.0.rc2.0 <1.0.0.rc2.11.0.0.rc2.1
GHSA-5m48-c37x-f792RubyGemsember-source>=1.0.0.rc3.0 <1.0.0.rc3.11.0.0.rc3.1
GHSA-5m48-c37x-f792RubyGemsember-source>=1.0.0.rc4.0 <1.0.0.rc4.11.0.0.rc4.1
GHSA-5m48-c37x-f792RubyGemsember-source>=1.0.0.rc5.0 <1.0.0.rc5.11.0.0.rc5.1
GHSA-5m48-c37x-f792RubyGemsember-source>=1.0.0.rc6.0 <1.0.0.rc6.11.0.0.rc6.1

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6pcsNot affected
Red Hat Enterprise Linux 7pcsNot affected
Red Hat Enterprise Linux 8pcsNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2013-4170.

Attack patterns (CAPEC)

  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON