Cross-site Scripting (XSS) Affecting i18next package, versions >=2.0.0 <3.4.4


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Mature
EPSS
0.1% (43rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-site Scripting (XSS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDnpm:i18next:20161013
  • published13 Feb 2017
  • disclosed12 Oct 2016
  • creditalexmchardy

Introduced: 12 Oct 2016

CVE-2017-16010  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade i18next to version 3.4.4 or higher.

Overview

i18next is i18next internationalization framework. Affected versions of the package are vulnerable to Cross-site Scripting (XSS) due to not escaping variables as expected. When passing any interpolation options without including escapeValue, the function this.escapeValue will get set to undefined in Interpolator. Meaning values aren't being escaped even though users expect them to be.

Details

<>

CVSS Scores

version 3.1