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-2021-23369 Vulnerability in npm package handlebars
CVE-2022-40152 Vulnerability in maven package com.fasterxml.woodstox:woodstox-core
CVE-2021-41184 Vulnerability in maven package org.webjars.bower:jquery-ui
CVE-2021-41251 Vulnerability in npm package @sap-cloud-sdk/core
CVE-2019-10744 Vulnerability in maven package org.fujion.webjars:lodash