i18next-http-backend@0.0.1-security

i18next-http-backend is a backend layer for i18next using in Node.js, in the browser and for Deno.

  • latest version

    4.0.0

  • latest non vulnerable version

  • first published

    6 years ago

  • latest version published

    1 months ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the i18next-http-backend package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Directory Traversal

    i18next-http-backend is an i18next-http-backend is a backend layer for i18next using in Node.js, in the browser and for Deno.

    Affected versions of this package are vulnerable to Directory Traversal or other URL manipulation, via unsanitized interpolation of lng and ns values in the loadPath and addPath URL templates in ‎i18nextHttpBackend.js. An attacker can manipulate URL paths to access unintended resources, inject query strings, truncate fragments, or bypass path restrictions.

    This allows reads of arbitrary files on the filesystem, if they are readable by loadPath using a scheme such as file://.

    How to fix Directory Traversal?

    Upgrade i18next-http-backend to version 3.0.5 or higher.

    <3.0.5