p PatchFirst

CVE-2025-66020

CVE-2025-66020 · Valibot has a ReDoS vulnerability in `EMOJI_REGEX`

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 7.5 · High · EPSS 0.4% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • valibot

    Versions
    • >= 0.31.0, < 1.2.0: Affected

    No fix published

  • valibot npm

    Affected ranges
    • SEMVER: ≥ 0.31.0, < 1.2.0

    Update to 1.2.0

Original sources

Check your server →