Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. ember-source
  4. ›
  5. CVE-2015-7565

CVE-2015-7565: XSS Vulnerability with User-Supplied JSON

April 13, 2017 (updated August 13, 2018)

By default, Ember will escape any values in Handlebars templates that use double curlies ({{value}}). Developers can specifically opt out of this escaping behavior by passing an instance of SafeString rather than a raw string, which tells Ember that it should not escape the string because the developer has taken responsibility for escapement. It is possible for an attacker to create a specially-crafted payload that causes a non-sanitized string to be treated as a SafeString, and thus bypass Ember’s normal escaping behavior. This could allow an attacker to execute arbitrary JavaScript in the context of the current domain (“XSS”).

References

  • groups.google.com/forum/

Code Behaviors & Features

Detect and mitigate CVE-2015-7565 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.11.0a before 1.11.4, all versions starting from 1.12.0a before 1.12.2, all versions starting from 1.13.0a before 1.13.12, all versions starting from 2.0.0a before 2.0.3, all versions starting from 2.1.0a before 2.1.2, all versions starting from 2.2.0a before 2.2.1

Fixed versions

  • 1.11.4
  • 1.12.2
  • 1.13.12
  • 2.0.3
  • 2.1.2
  • 2.2.1

Solution

Upgrade to latest or use workaround; see provided link.

Impact 6.1 MEDIUM

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

gem/ember-source/CVE-2015-7565.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:15 +0000.