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.
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

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2024-03-22T16:46:21.456Z

Updated: 2024-08-02T01:03:51.704Z

Reserved: 2024-03-14T16:59:47.614Z

Link: CVE-2024-29042

cve-icon Vulnrichment

Updated: 2024-08-01T20:50:27.695Z

cve-icon NVD

Status : Analyzed

Published: 2024-03-22T17:15:07.990

Modified: 2025-12-05T20:05:22.223

Link: CVE-2024-29042

cve-icon Redhat

No data.