# CVE-2022-25906: is-http2 vulnerable to Improper Input Validation

- Severity: High 7.4 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P`
- 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): 1.02%, higher than 64% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-02-01T05:00:02.596Z
- Modified: 2026-06-17T04:34:28.647Z
- Also known as: GHSA-2275-rpf5-xv8h
- Weaknesses: CWE-20, CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: snyk

## Description

All versions of the package is-http2 are vulnerable to Command Injection due to missing input sanitization or other checks, and sandboxes being employed to the isH2 function.

(As written by CVE List.)

## Affected

- is-http2: before *
- is-http2 (npm): up to 1.2.0
- is-http2_project is-http2: no versions given

## Every score

- snyk: CVSS:3.1 7.4 High `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P`
- GitHub: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://security.snyk.io/vuln/SNYK-JS-ISHTTP2-3153878> (exploit, third-party-advisory, web)
- <https://github.com/stefanjudis/is-http2/blob/master/index.js%23L23> (broken-link, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-25906> (advisory)
- <https://github.com/stefanjudis/is-http2> (package)
- <https://github.com/stefanjudis/is-http2/blob/master/index.js#L23> (web)

## Sources

- CVE List: [CVE-2022-25906](https://www.cve.org/CVERecord?id=CVE-2022-25906), CVE Terms of Use, modified 2025-03-26
- GitHub Advisory Database: [GHSA-2275-rpf5-xv8h](https://github.com/advisories/GHSA-2275-rpf5-xv8h), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-25906](https://nvd.nist.gov/vuln/detail/CVE-2022-25906), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-25906 · Whole record: https://cve.day/CVE-2022-25906.json · Rebuilt by cve.day 2026-11-25T22:58:18.456Z
