CVE-2023-48711
Server-Side Request Forgery (SSRF) Vulnerability in google-translate-api-browser
Also known as GHSA-4233-7q5q-m7p6
Mitigation
- Upgrade google-translate-api-browser to 4.1.0 or later.
Who should check
- Projects that depend on npm package google-translate-api-browser (< 4.1.0)
- Anyone running cjvnjde google-translate-api-browser < 4.1.3
Vulnerability facts
- Affected
- google-translate-api-browser < 4.1.0
- Fixed in
- 4.1.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 3.7 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: Low
- Availability impact: None
- EPSS
- 0.53% chance of exploitation in 30 days (percentile 39, 2026-11-26)
- CWE
- CWE-918
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| npm google-translate-api-browser | < 4.1.0 | 4.1.0 | osv |
| cjvnjde google-translate-api-browser | < 4.1.3 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-48711. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-48711.md Affected: google-translate-api-browser < 4.1.0 Fixed in: 4.1.0 Steps: 1. Search this machine and project for google-translate-api-browser (npm), cjvnjde google-translate-api-browser: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2023-48711 being exploited?
There is no confirmed exploitation: CVE-2023-48711 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.53% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-48711?
Low: CVSS 3.7 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2023-48711?
google-translate-api-browser < 4.1.0.
Is there a fix for CVE-2023-48711?
Yes. Fixed in 4.1.0. Upgrade google-translate-api-browser to 4.1.0 or later.
How do I check if I'm affected by CVE-2023-48711?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.