Encoding Error Affecting fast-uri package, versions >=4.1.3 <4.1.5


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.16% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-FASTURI-19846651
  • published16 Sept 2026
  • disclosed15 Sept 2026
  • creditmanus-use, manus-pi

Introduced: 15 Sep 2026

NewCVE-2026-86818  (opens in a new tab)
CWE-172  (opens in a new tab)

How to fix?

Upgrade fast-uri to version 4.1.5 or higher.

Overview

fast-uri is a Dependency-free RFC 3986 URI toolbox

Affected versions of this package are vulnerable to Encoding Error in the mailto parser process. An attacker can inject unauthorized recipients or manipulate the subject and body fields by crafting a URI with percent-encoded reserved field names, which are not properly recognized during parsing but are re-emitted as literal field names upon serialization. This can result in attacker-controlled data being silently included in outgoing messages or logs.

Workaround

This vulnerability can be mitigated by decoding and re-validating the recipient, subject, and body fields of a mailto URI after serialization and before acting on it.

CVSS Base Scores

version 4.0
version 3.1