Translate Cache Poisoning Vulnerability
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| franciscop | translate | before 3.0.0 | 3.0.0 | Patch available | CNA |
| — | translate (npm) | before 3.0.0 | 3.0.0 | Patch available | GHSA-882j-4vj5-7vmj |
- translate Vendorfranciscop Affected before 3.0.0 Fixed in 3.0.0 Patch available CNA
- translate (npm) Vendor— Affected before 3.0.0 Fixed in 3.0.0 Patch available GHSA-882j-4vj5-7vmj
Remediation
- Fix · CNA translate (franciscop) Fixed in 3.0.0
- Fix · GHSA-882j-4vj5-7vmj translate (npm) Fixed in 3.0.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-29042
- 2026-10-03 Alias added: GHSA-882j-4vj5-7vmj
- 2026-10-16 EPSS moved to the 50th–90th percentile
References
Patch 2
Sources
- CVE-2024-29042 · CVE Program
- CVE-2024-29042 · NVD
- FIRST EPSS
- GHSA-882j-4vj5-7vmj · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences