CVE-2023-48711Cjvnjde Google Translate Api Browser
Low 3.7 No auth needed
Follow: this CVE · Cjvnjde · Cjvnjde Google Translate Api Browser We alert you by email or Slack (account required).
- Priority
- 37
- CVSS 3.1
- 3.7
- EPSS
- 0.5% probability of exploitation in 30 days · percentile 39
- Auth required
- No
- Published
- Nov 24, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-918
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
What happens
google-translate-api-browser is an npm package which interfaces with the google translate web api. A Server-Side Request Forgery (SSRF) Vulnerability is present in applications utilizing the `google-translate-api-browser` package and exposing the `translateOptions` to the end user. An attacker can set a malicious `tld`, causing the application to return unsafe URLs pointing towards local resources. The `translateOptions.tld` field is not properly sanitized before being placed in the Google translate URL. This can allow an attacker with control over the `translateOptions` to set the `tld` to a payload such as `@127.0.0.1`. This causes the full URL to become `https://translate.google.@127.0.0.1/...`, where `translate.google.` is the username used to connect to localhost. An attacker can send requests within internal networks and the local host. Should any HTTPS application be present on the internal network with a vulnerability exploitable via a GET call, then it would be possible to exploit this using this vulnerability. This issue has been addressed in release version 4.1.3. Users are advised to upgrade. There are no known workarounds for this vulnerability.
What to do
- Apply the vendor's security update for Google Translate Api Browser.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | google-translate-api-browser |
< 4.1.0 |
4.1.0 |
npm install google-translate-api-browser@4.1.0 |
Per OSV / GitHub Advisories (GHSA-4233-7q5q-m7p6). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| cjvnjde | google_translate_api_browser | < 4.1.3 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Exploit Third Party Advisory