{"id":"CVE-2017-16008","aliases":["GHSA-f89g-whpf-6q9m"],"url":"https://o3.security/vulnerability/CVE-2017-16008","summary":"Cross-Site Scripting in i18next","details":"Affected versions of `i18next` allow untrusted user input to be injected into dictionary key names, resulting in a cross-site scripting vulnerability.\n\n## Proof of Concept\n```js\nvar init = i18n.init({debug: true}, function(){\n  var test = i18n.t('__firstName__ __lastName__', {\n        escapeInterpolation: true,\n        firstName: '__lastNameHTML__',\n        lastName: '<script>',\n  });\n  console.log(test);\n});\n// equals \"<script> &lt;script&gt;\"\n```\n\n\n## Recommendation\n\nUpdate to version 1.10.3 or later.","published":"2018-06-04T19:29:00.677Z","modified":"2026-10-20T10:48:17.672243664Z","cvss":{"score":6.1,"severity":"MEDIUM","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},"epss":{"score":0.00833,"percentile":0.58577,"asOf":"2026-11-23"},"cisaKev":null,"exploitsKnown":2,"affectedPackages":[{"ecosystem":"npm","name":"i18next","fixedVersion":"1.10.3"}],"fix":{"url":"https://github.com/i18next/i18next/pull/443","label":"i18next/i18next#443"},"references":[{"type":"FIX","url":"https://github.com/i18next/i18next/pull/443"},{"type":"EVIDENCE","url":"https://nodesecurity.io/advisories/325"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-16008"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-f89g-whpf-6q9m"},{"type":"WEB","url":"https://www.npmjs.com/advisories/325"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-20T10:48:17.672243664Z"}}