Translate is a package that allows users to convert text to different languages on Node.js and the browser.…
Historical advisory recorded 24 Oct 2026 23:17:34 UTC. Read the latest advisory.
nvd · CVE-2024-29042
PublishedTranslate is a package that allows users to convert text to different languages on Node.js and the browser. Prior to version 3.0.0, an attacker controlling the second variable of the `translate` function is able to perform a cache poisoning attack. They can change the outcome of translation requests made by subsequent users. The `opt.id` parameter allows the overwriting of the cache key. If an attacker sets the `id` variable to the cache key that would be generated by another user, they can choose the response that user gets served. Version 3.0.0 fixes this issue.
Read the publisher's advisoryAffected versions, risk and source history
nvd · CVE-2024-29042
PublishedNVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Analyzed
Weakness classifications: CWE-20
Original publisher date fields
published: 2024-03-22T17:15:07.990
lastModified: 2026-06-17T07:22:18.630
1 source CPE criteria · context only
- cpe:2.3:a:francisco:translate:*:*:*:*:*:node.js:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.
Original source record · Cite this exact observation · Complete original publisher JSON