Intel

AIKIDO-2025-10456

typeson is vulnerable to Prototype Pollution

Prototype Pollution Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Jul 10, 2025

73

High Risk

This Affects:

JStypeson
5.11.0 - 9.0.3
Fixed in 9.0.4
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to prototype pollution via the lib.setAtKeyPath function. An attacker can craft input containing an Object.prototype setter to inject or alter properties on the global prototype chain. This can lead to a denial of service (DoS) at minimum, but the impact can escalate significantly depending on how the library is used within an application. If polluted properties propagate into sensitive Node.js APIs—such as exec or eval—the vulnerability may enable arbitrary command execution in the application's context, resulting in remote code execution or other injection-based attacks.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

typeson is vulnerable to Prototype Pollution in versions 5.11.0 - 9.0.3.

How to fix this

Upgrade the typeson library to the patch version.