Skip to content
Heist/ feed
Back to feed
Medium

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

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-48054
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 17:11 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 27 May 2025, 04:04 UTC

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.

osv:CVE-2025-48054
Complete source record
{
  "id": "3f6c950bdbacafd8b51047adcbe3d217c303ce61c3c929a8ba41ed08684d986f",
  "url": "https://osv.dev/vulnerability/CVE-2025-48054",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Radashi Vulnerable to Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')",
    "summary": "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.",
    "evidence": "osv:CVE-2025-48054",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-48054",
      "aliases": [
        "CVE-2025-48054",
        "GHSA-2xv9-ghh9-xc69"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:U"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/radashi-org/radashi",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "028de5e39acaed0bcfe24cba6fe7981ffe4bfe38"
                },
                {
                  "fixed": "8147abc8cfc3cfe9b9a17cd389076a5d97235a66"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "12.5.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "8147abc8cfc3cfe9b9a17cd389076a5d97235a66"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v12.5.0",
            "v12.4.0",
            "v12.3.4",
            "v12.3.3",
            "v12.3.2",
            "v12.3.1",
            "v12.3.0",
            "v12.2.3",
            "v12.2.2",
            "v12.2.1",
            "v12.2.0",
            "v12.2.0-beta.7fb6e89",
            "v12.2.0-beta.83909af",
            "v12.2.0-beta.313bfb4",
            "v12.2.0-beta.cf2d48e",
            "v12.2.0-beta.4aac7d7",
            "v12.2.0-beta.c090534",
            "v12.2.0-beta.5b5a0a7",
            "v12.2.0-beta.0dc9c8a",
            "v12.2.0-beta.a39a81e",
            "v12.2.0-beta.ef0154b",
            "v12.2.0-beta.c59abfd",
            "v12.2.0-beta.85fb266",
            "v12.2.0-beta.6bdfb09",
            "v12.2.0-beta.dc9ade1",
            "v12.2.0-beta.af936c4",
            "v12.2.0-beta.8fb5382",
            "v12.2.0-beta.6fba837",
            "v12.1.0",
            "v12.0.0",
            "v11.0.0",
            "v10.9.0",
            "v10.8.1",
            "v10.7.1",
            "v10.7.0",
            "v10.6.0",
            "v10.5.0",
            "v10.4.0",
            "v10.3.2",
            "v10.3.1",
            "v10.3.0",
            "v10.2.0",
            "v10.1.0",
            "v10.0.0",
            "v9.5.0",
            "v9.4.2",
            "v9.4.1",
            "v9.4.0",
            "v9.3.0",
            "v9.2.0",
            "v9.1.0",
            "v9.0.2",
            "v9.0.1",
            "v9.0.0",
            "v8.1.0",
            "v8.0.3",
            "v8.0.2",
            "v8.0.1",
            "v8.0.0",
            "v7.1.0",
            "v7.0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-48054.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:38.067581270Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/48xxx/CVE-2025-48054.json",
        "https://github.com/radashi-org/radashi/security/advisories/GHSA-2xv9-ghh9-xc69",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-48054",
        "https://github.com/radashi-org/radashi/commit/8147abc8cfc3cfe9b9a17cd389076a5d97235a66"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-1321"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/48xxx/CVE-2025-48054.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-48054",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 505189,
  "published_at": "2025-05-27T04:04:13.029+00:00"
}