# CVE-2023-48711: Server-Side Request Forgery (SSRF) Vulnerability in google-translate-api-browser

- Severity: Low 3.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.60%, higher than 49% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-11-24T17:06:15.019Z
- Modified: 2026-09-10T03:50:03.988Z
- Also known as: GHSA-4233-7q5q-m7p6
- Weaknesses: CWE-918
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- cjvnjde google-translate-api-browser: < 4.1.3
- google-translate-api-browser (npm): before 4.1.0
- cjvnjde google_translate_api_browser: before 4.1.3

## Every score

- GitHub_M: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N`
- GitHub: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://github.com/cjvnjde/google-translate-api-browser/security/advisories/GHSA-4233-7q5q-m7p6> (exploit, third-party-advisory, web)
- <https://github.com/cjvnjde/google-translate-api-browser/commit/33c2eac4a21c6504409e7b06dd16e6346f93d34b> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-48711> (advisory)
- <https://github.com/cjvnjde/google-translate-api-browser> (package)

## Sources

- CVE List: [CVE-2023-48711](https://www.cve.org/CVERecord?id=CVE-2023-48711), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-4233-7q5q-m7p6](https://github.com/advisories/GHSA-4233-7q5q-m7p6), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-48711](https://nvd.nist.gov/vuln/detail/CVE-2023-48711), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-48711 · Whole record: https://cve.day/CVE-2023-48711.json · Rebuilt by cve.day 2026-11-25T22:58:30.712Z
