CVE-2026-42353
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedi18next-http-middleware is a middleware to be used with Node.js web frameworks like express or Fastify and also for Deno. Prior to version 3.9.3, i18next-http-middleware passes the user-controlled lng and ns values from getResourcesHandler directly into i18next.services.backendConnector.load(languages, namespaces, …) without any sanitization. Depending on which backend is configured, the unvalidated path segments enable either path traversal or SSRF. This issue has been patched in version 3.9.3.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceThe i18next-http-middleware library versions prior to 3.9.3 fail to sanitize user-controlled 'lng' (language) and 'ns' (namespace) parameters from the getResourcesHandler before passing them to i18next.services.backendConnector.load(). This allows attackers to inject path traversal sequences or craft malicious requests leading to SSRF depending on the configured backend storage system.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Locate i18next-http-middleware installationCheck package.json or run 'npm list i18next-http-middleware' or 'yarn list i18next-http-middleware' to find the package and its installed pathAffected if The package is not found in dependencies at all (not vulnerable, not used)
-
Determine installed versionRun 'npm list i18next-http-middleware' to see the exact version number installed, or check the version field in package.jsonAffected if Version is lower than 3.9.3 (e.g., 3.9.2, 3.9.1, 3.x.y where x < 9, or any 2.x version)
-
Identify if getResourcesHandler is usedSearch source code for usage of getResourcesHandler from i18next-http-middleware, or check if the application exposes endpoints that process lng and ns query parameters from HTTP requestsAffected if The handler is in use and processes lng/ns parameters from incoming requests (vulnerable code path is active)
-
Review backend storage configurationExamine the i18next configuration to identify which backend is configured (file system, custom HTTP backend, database, etc.) by checking i18next.init() options or i18next configuration filesAffected if A backend is configured that could allow path traversal (e.g., file system backend) or make outbound HTTP requests (custom HTTP backend), as these are the vectors for the SSRF/path traversal attack
You are affected if i18next-http-middleware version is below 3.9.3 AND your application exposes getResourcesHandler to process lng/ns parameters from user requests, especially with a backend vulnerable to path traversal or SSRF.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade i18next-http-middleware to version 3.9.3 or later. If upgrading is not immediately possible, implement input validation on the 'lng' and 'ns' parameters before they reach the handler, restricting them to expected patterns only.
3.9.3
- Identify the current version of i18next-http-middleware in your project by checking package.json or package-lock.json
- Run npm install [email protected] or npm update i18next-http-middleware to upgrade to the fixed version
- Verify the new version is installed correctly by running npm list i18next-http-middleware
- Test your application to ensure the lng and ns parameters are now properly sanitized and the path traversal vulnerability is mitigated
- Consider reviewing any custom backend implementations to ensure they also handle user input safely
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation1.0 h
- Implementation2.0 h
- Testing3.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,192.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-42353 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-42353 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data