Description
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.
Published: 2024-03-22
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

No analysis available yet.

Remediation

No remediation available yet.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD 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 Github GHSA GHSA-882j-4vj5-7vmj Cache Poisoning Vulnerability
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

Subscriptions

Francisco Translate
Franciscop Translate
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

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.

cve-icon OpenCVE Enrichment

No data.

Weaknesses