Inefficient regular expression complexity in Valibot - CVE-2025-66020
Published: April 28, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to inefficient regular expression complexity in EMOJI_REGEX used by the emoji action when processing user-controllable input. A remote attacker can submit a specially crafted short string to cause a denial of service.
The issue is caused by catastrophic backtracking due to overlapping character classes in the regex pattern.
Affected software
Confluence Data Center
How to mitigate CVE-2025-66020
Confluence Data Center - addressed in versions 9.2.19, 10.2.10