Skip to main content
← All vulnerabilities
CVE-2025-66020GHSA-VQPR-J7V3-HQW9

Valibot has a ReDoS vulnerability in `EMOJI_REGEX`

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.2.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • open-circle valibot

    From 0.31.0 · fixed in 1.2.0

  • valibotnpm

    From 0.31.0 · fixed in 1.2.0

References 2

GitHub · open-circle/valibot