npm: is-http2

CVE-2022-25906

Safety vulnerability ID: SFTY-20230201-37558

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.

Created at: Jul 5, 2026Updated at: Jul 5, 2026

Overview

is-http2 vulnerable to Improper Input Validation

Advisory

is-http2 vulnerable to Improper Input Validation

Affected Package

Affecting is-http2 package, versions<= 1.2.0

Also affects

---

How to Fix

We recommend updating is-http2 to the latest non-vulnerable version.

Mitigation and Workarounds

---

Vulnerable Functions

Functions linked to known vulnerabilities.

Vulnerable function data is available for Enterprise customers

Book a call with us to see Safety in action.

Safety

Verified by Safety

Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.

Learn more