CVE-2025-66020

High

Description

Valibot helps validate data using a schema. In versions from 0.31.0 to 1.1.0, the EMOJI_REGEX used in the emoji action is vulnerable to a Regular Expression Denial of Service (ReDoS) attack. A short, maliciously crafted string (e.g., <100 characters) can cause the regex engine to consume excessive CPU time (minutes), leading to a Denial of Service (DoS) for the application. This issue has been patched in version 1.2.0.

SeverityHigh
CVSS7.5
Exploit probability—
ProductValibot
PublishedNov 26, 2025
First seenNov 26, 2025
Weakness typeCWE-1333CWE-1333

How to fix

Update
  • valibot1.2.0 or later

Affected products

ProductAffected versionsFixed in
valibotnpm0.31.0 ≤ v < 1.2.01.2.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.