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-46175 Vulnerability in maven package org.webjars.npm:json5
CVE-2022-24913 Vulnerability in maven package com.fasterxml.util:java-merge-sort
CVE-2020-7792 Vulnerability in maven package org.webjars:mout
CVE-2021-4307 Vulnerability in maven package org.webjars.npm:baobab
CVE-2021-25864 Vulnerability in npm package node-red-contrib-huemagic