org.mvnpm:i18next-http-backend@4.0.3

  • latest version

    4.0.9

  • latest non vulnerable version

  • first published

    1 years ago

  • latest version published

    22 days ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.mvnpm: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
    CRLF Injection

    org.mvnpm: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 CRLF Injection via the isSafeLangUrlSegment validation function in lib/utils.js, which failed to reject the characters &, =, and ; in lng and ns template values. When a query-shaped load path such as /locales/resources.json?lng={{lng}}&ns={{ns}} is used, an attacker who controls the language or namespace value can inject additional query parameters into the outbound translation API request, overriding or appending parameters such as ns=private&admin=true. A prior fix (3.0.5) only rejected ?, leaving & and = unblocked.

    How to fix CRLF Injection?

    Upgrade org.mvnpm:i18next-http-backend to version 4.0.4 or higher.

    [,4.0.4)