Description
i18next is a language translation framework. 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. This vulnerability affects i18next 2.0.0 and later.
Remediation
References
https://github.com/i18next/i18next/pull/826
https://nodesecurity.io/advisories/326
Related Vulnerabilities
CVE-2022-31129 Vulnerability in npm package moment
CVE-2020-28503 Vulnerability in maven package org.webjars.npm:copy-props
CVE-2020-15999 Vulnerability in maven package org.webjars.npm:electron
CVE-2018-13863 Vulnerability in npm package bson
CVE-2019-10756 Vulnerability in npm package node-red-dashboard