6.1med
CVE-2017-16010
Cross-Site Scripting in i18next
Also known as GHSA-cmh5-qc8w-xvcq
Published 8 y ago · modified 4 mo ago · JSON
CVSS
6.1
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
1.0%
percentile 63%
Public exploits
0
none known
Summary
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.
Exploit prediction (EPSS)
1.00% probability of exploitation in the next 30 days, higher than 63% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.0 | 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.0 | 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | i18next | >=2.0.0, <3.4.4 | 3.4.4 |
Affected products
- HackerOne i18next node module
Classification
- Weakness
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
- github.com /i18next/i18next/pull/826 · x_refsource_MISC, x_transferred
- nodesecurity.io /advisories/326 · x_refsource_MISC, x_transferred
- nvd.nist.gov /vuln/detail/CVE-2017-16010 · advisory
- github.com /advisories/GHSA-cmh5-qc8w-xvcq · advisory
- npmjs.com /advisories/326 · web
Sources
- CVE List: CVE-2017-16010
- GitHub Advisory: GHSA-cmh5-qc8w-xvcq
- NVD: CVE-2017-16010
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.