Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-v39h-62p7-jpjc

Опубликовано: 08 мая 2026
Источник: github
Github: Прошло ревью
CVSS3: 7.5

Описание

fast-uri vulnerable to host confusion via percent-encoded authority delimiters

Impact

fast-uri v3.1.1 and earlier decodes percent-encoded authority delimiters (%40 as @, %3A as :) inside the host component and serializes them back as raw characters. This changes the URI structure, turning a hostname into userinfo plus a different host.

For example, http://trusted.com%40evil.com/ normalizes to http://trusted.com@evil.com/, which reparses as host evil.com with userinfo trusted.com.

Applications that normalize untrusted URLs before host allowlist checks, redirect validation, or outbound request routing can be steered to a different authority than the original URL appeared to contain.

Patches

Upgrade to fast-uri >= 3.1.2.

Workarounds

None. Upgrade to the patched version.

Пакеты

Наименование

fast-uri

npm
Затронутые версииВерсия исправления

<= 3.1.1

3.1.2

EPSS

Процентиль: 39%
0.00475
Низкий

7.5 High

CVSS3

Дефекты

CWE-436

Связанные уязвимости

CVSS3: 7.5
ubuntu
3 месяца назад

fast-uri normalize() decoded percent-encoded authority delimiters inside the host component and then re-emitted them as raw delimiters during serialization. A host that combined an allowed domain, an encoded at-sign, and a different domain was re-emitted with the at-sign as a raw userinfo separator, changing the URI's authority to the second domain. Applications that normalize untrusted URLs before host allowlist checks, redirect validation, or outbound request routing can be steered to a different authority than the input appeared to specify. Versions <= 3.1.1 are affected. Update to 3.1.2 or later.

CVSS3: 7.5
redhat
3 месяца назад

fast-uri normalize() decoded percent-encoded authority delimiters inside the host component and then re-emitted them as raw delimiters during serialization. A host that combined an allowed domain, an encoded at-sign, and a different domain was re-emitted with the at-sign as a raw userinfo separator, changing the URI's authority to the second domain. Applications that normalize untrusted URLs before host allowlist checks, redirect validation, or outbound request routing can be steered to a different authority than the input appeared to specify. Versions <= 3.1.1 are affected. Update to 3.1.2 or later.

CVSS3: 7.5
nvd
3 месяца назад

fast-uri normalize() decoded percent-encoded authority delimiters inside the host component and then re-emitted them as raw delimiters during serialization. A host that combined an allowed domain, an encoded at-sign, and a different domain was re-emitted with the at-sign as a raw userinfo separator, changing the URI's authority to the second domain. Applications that normalize untrusted URLs before host allowlist checks, redirect validation, or outbound request routing can be steered to a different authority than the input appeared to specify. Versions <= 3.1.1 are affected. Update to 3.1.2 or later.

CVSS3: 7.5
debian
3 месяца назад

fast-uri normalize() decoded percent-encoded authority delimiters insi ...

EPSS

Процентиль: 39%
0.00475
Низкий

7.5 High

CVSS3

Дефекты

CWE-436