Vulnerability · Published Apr 30, 2025 · Assigned by GitHub_M

CVE-2025-27611base-x homograph attack allows Unicode lookalike characters to bypass validation.

High 8.7

In plain English

A high-severity security flaw in base-x from cryptocoinjs. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 39% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)8.7High
Exploit odds (30 days)0.4%top 60.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

base-x is a base encoder and decoder of any given alphabet using bitcoin style leading zero compression. Versions 4.0.0, 5.0.0, and all prior to 3.0.11, are vulnerable to attackers potentially deceiving users into sending funds to an unintended address. This issue has been patched in versions 3.0.11, 4.0.1, and 5.0.1.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmbase-x5.0.1GHSA-xq7p-g2vc-g82p
npmbase-x4.0.1GHSA-xq7p-g2vc-g82p
npmbase-x3.0.11GHSA-xq7p-g2vc-g82p

Affected products (as reported)

VendorProductVersions
cryptocoinjs base-x = 5.0.0= 4.0.0< 3.0.11

Weakness: CWE-1007 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

References