Intel

AIKIDO-2026-787444

fast-uri is vulnerable to Mailto Header Injection

Mailto Header InjectionCVE-2026-86818 Published Yesterday

48

Medium Risk

This Affects:

JSfast-uri
4.1.3 - 4.1.4
Fixed in 4.1.5
Are you affected? Scan for Free

TL;DR

fast-uri's mailto: parser compares a query field's raw, still-encoded name against the literal strings to, subject, and body, so a percent-encoded or differently-cased spelling of those names skips the comparison. Such a field is instead placed into the generic headers object under its decoded name, letting an encoded to/subject/body field reach code that trusts headers as ordinary data while carrying a real recipient or subject value. An application that inspects parsed.to/parsed.subject/parsed.body to filter a mailto: link, but forwards headers unfiltered, can have a hidden recipient smuggled past the filter. The fix decodes and lowercases field names before classifying and serializing them.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you parse mailto: links and rely on the to, subject, or body fields to filter or validate untrusted input.

Background info

fast-uri is vulnerable to Mailto Header Injection in versions 4.1.3 - 4.1.4.

How to fix this

Upgrade the fast-uri library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform