cve/2017/CVE-2017-16010.md

18 lines
895 B
Markdown
Raw Normal View History

2024-05-26 14:27:05 +02:00
### [CVE-2017-16010](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-16010)
![](https://img.shields.io/static/v1?label=Product&message=i18next%20node%20module&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=Cross-site%20Scripting%20(XSS)%20-%20Generic%20(CWE-79)&color=brighgreen)
### 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.
### POC
#### Reference
- https://github.com/i18next/i18next/pull/826
#### Github
- https://github.com/ARPSyndicate/cvemon