Intel

AIKIDO-2026-10502

re2js is vulnerable to Prototype Pollution

Prototype Pollution Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Apr 17, 2026

72

High Risk

This Affects:

JSre2js
2.1.0 - 2.1.0
Fixed in 2.1.1
Are you affected? Scan for Free

TL;DR

Affected versions of this package are affected by a Prototype Pollution vulnerability in the getNamedGroups method, where an ordinary object was created with {} and could inherit or interact with dangerous prototype properties. By supplying specially crafted group names such as __proto__, constructor, or prototype, an attacker may be able to pollute the object prototype chain, causing unexpected property injection, application logic manipulation, denial of service, or unsafe behavior in downstream code that trusts the returned object.

Who does this affect?

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

Background info

re2js is vulnerable to Prototype Pollution in versions 2.1.0 - 2.1.0.

How to fix this

Upgrade the re2js library to the patch version.