Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. i18next
  4. ›
  5. GMS-2017-120

GMS-2017-120: Cross-Site Scripting

March 15, 2017

When using the .init method, passing interpolation options without passing an escapeValue will default to undefined rather than the assumed true. This can result in a cross-site scripting vulnerability because user input is assumed to be escaped, but is not.

References

  • github.com/i18next/i18next/pull/826

Code Behaviors & Features

Detect and mitigate GMS-2017-120 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 2.0.0-alpha.0 up to 3.4.3

Fixed versions

  • 3.4.4

Solution

Upgrade to v3.4.4 or greater.

Source file

npm/i18next/GMS-2017-120.yml

Spotted a mistake? Edit the file on GitLab.

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

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