Description
h3 versions before 2.0.1-rc.18 contain an open redirect vulnerability in the redirectBack() utility that fails to sanitize protocol-relative paths in the Referer header pathname. Attackers can craft a same-origin URL with a double-slash path segment that passes origin validation but produces a Location header interpreted by browsers as a protocol-relative redirect to an external domain.
Published: 2026-09-06
Score: 5.3 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

h3 versions before 2.0.1-rc.18 have a client‑side open‑redirect flaw in the redirectBack() utility. The function fails to sanitize protocol‑relative paths found in the Referer header pathname, allowing attackers to craft a same‑origin URL that passes origin validation but causes the browser to interpret a Location header as a protocol‑relative redirect to an external domain. The flaw can be used to lure users to phishing sites or inject malicious content via browser navigation, compromising user confidentiality and potentially facilitating credential theft.

Affected Systems

The vulnerability affects all installations of the h3 JavaScript library from vendors such as h3js before version 2.0.1-rc.18. Any deployment using earlier releases of h3 is susceptible until it is updated to a fixed build.

Risk and Exploitability

The CVSS score of 5.3 reflects moderate severity; exploitation requires only a crafted link and does not need authentication or elevated privileges. With no EPSS data, precise exploit frequency cannot be quantified, but the flaw is listed as not part of the CISA KEV catalog. Attackers can embed a double‑slash path segment in the Referer header to trick browsers into performing a protocol‑relative redirect, enabling phishing or other social‑engineering attacks. The ease of injection and the lack of remediation controls by default make this a readily exploitable weakness in permissive web applications.

Generated by OpenCVE AI on September 6, 2026 at 13:24 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the h3 library to version 2.0.1‑rc.18 or later.
  • Modify application code to use the updated redirectBack implementation or add validation logic that rejects protocol‑relative and double‑slash paths in the Referer header.
  • Configure the application to restrict redirects so that only trusted internal URLs are permitted, rejecting any redirect that points to an external domain.

Generated by OpenCVE AI on September 6, 2026 at 13:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 06 Sep 2026 13:45:00 +0000

Type Values Removed Values Added
First Time appeared H3js
H3js h3
Vendors & Products H3js
H3js h3

Sun, 06 Sep 2026 12:15:00 +0000

Type Values Removed Values Added
Description h3 versions before 2.0.1-rc.18 contain an open redirect vulnerability in the redirectBack() utility that fails to sanitize protocol-relative paths in the Referer header pathname. Attackers can craft a same-origin URL with a double-slash path segment that passes origin validation but produces a Location header interpreted by browsers as a protocol-relative redirect to an external domain.
Title h3 before 2.0.1-rc.18 Open Redirect via redirectBack()
Weaknesses CWE-601
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-06T12:00:25.530Z

Reserved: 2026-09-05T11:52:36.822Z

Link: CVE-2026-86205

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-06T12:17:15.277

Modified: 2026-09-06T12:17:15.277

Link: CVE-2026-86205

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-06T13:30:07Z

Weaknesses
  • CWE-601

    URL Redirection to Untrusted Site ('Open Redirect')