CVE-2023-48711

Low

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://[email protected]/...`, 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.

SeverityLow
CVSS3.7
Exploit probability—
ProductCjvnjde Google Translate Api Browser
PublishedNov 24, 2023
First seenNov 24, 2023

How to fix

Update
  • cjvnjde google_translate_api_browser4.1.3 or later
  • google-translate-api-browser4.1.0 or later

Affected products

ProductAffected versionsFixed in
cjvnjde google_translate_api_browserv < 4.1.34.1.3
google-translate-api-browsernpmv < 4.1.04.1.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.