Skip to content
OpenAdvisories
Medium · 6.8 CVE-2025-48054 EUVD-2025-28140GHSA-2xv9-ghh9-xc69

Radashi Vulnerable to Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Published May 27, 2025 · Updated May 27, 2025 · Assigned by GitHub_M

Description

Radashi is a TypeScript utility toolkit. Prior to version 12.5.1, the set function within the Radashi library is vulnerable to prototype pollution. If an attacker can control parts of the path argument to the set function, they could potentially modify the prototype of all objects in the JavaScript runtime, leading to unexpected behavior, denial of service, or even remote code execution in some specific scenarios. This issue has been patched in version 12.5.1. A workaround for this issue involves sanitizing the path argument provided to the set function to ensure that no part of the path string is __proto__, prototype, or constructor.

Affected products

VendorProductAffectedFixed
radashi-org radashi < 12.5.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm radashi < 12.5.1 12.5.1 GHSA-2xv9-ghh9-xc69

References