# CVE-2021-34083: Command injection in google-it

- Severity: High 8.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- 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): 2.11%, higher than 82% of CVEs (2026-11-30)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2022-06-01T14:31:52.000Z
- Modified: 2026-06-17T03:55:28.410Z
- Also known as: GHSA-7xhv-mpjw-422f
- Weaknesses: CWE-74, CWE-78
- Assigned by: mitre

## Description

Google-it is a Node.js package which allows its users to send search queries to Google and receive the results in a JSON format. When using the 'Open in browser' option in versions up to 1.6.2, google-it will unsafely concat the result's link retrieved from google to a shell command, potentially exposing the server to RCE.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- google-it (npm): up to 1.6.2
- google-it_project google-it: up to 1.6.2

## Every score

- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 9.3 High `AV:N/AC:M/Au:N/C:C/I:C/A:C`

## References

- <https://advisory.checkmarx.net/advisory/CX-2021-4777> (exploit, third-party-advisory, web)
- <https://github.com/PatNeedham/google-it/blob/v1.6.2/lib/googleIt.js#L59> (exploit, third-party-advisory, web)
- <https://github.com/PatNeedham/google-it/blob/v1.6.2/src/googleIt.js#L34> (exploit, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-34083> (advisory)
- <https://github.com/PatNeedham/google-it> (package)

## Sources

- CVE List: [CVE-2021-34083](https://www.cve.org/CVERecord?id=CVE-2021-34083), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-7xhv-mpjw-422f](https://github.com/advisories/GHSA-7xhv-mpjw-422f), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2021-34083](https://nvd.nist.gov/vuln/detail/CVE-2021-34083), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-34083 · Whole record: https://cve.day/CVE-2021-34083.json · Rebuilt by cve.day 2026-11-25T22:58:07.577Z
