Translate 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.
Metrics
Affected Vendors & Products
Advisories
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2024-0870 | Translate 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. |
Github GHSA |
GHSA-882j-4vj5-7vmj | Cache Poisoning Vulnerability |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Fri, 05 Dec 2025 20:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Francisco
Francisco translate |
|
| CPEs | cpe:2.3:a:francisco:translate:*:*:*:*:*:node.js:*:* | |
| Vendors & Products |
Francisco
Francisco translate |
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2024-08-02T01:03:51.704Z
Reserved: 2024-03-14T16:59:47.614Z
Link: CVE-2024-29042
Updated: 2024-08-01T20:50:27.695Z
Status : Analyzed
Published: 2024-03-22T17:15:07.990
Modified: 2025-12-05T20:05:22.223
Link: CVE-2024-29042
No data.
OpenCVE Enrichment
No data.
Weaknesses
EUVD
Github GHSA