Dev Tools · 22h ago
Invalid Regex in Formbricks Could Crash Live Surveys
A bug in open-source survey platform Formbricks allowed invalid regex patterns to be saved, causing runtime crashes when users submitted responses. The validation schema only checked for non-empty strings, not valid regex syntax. A contributor fixed it by adding a try-catch to test patterns before saving.
Meridian48 take
The bug is a classic input-validation oversight, but its impact—silent crashes during live surveys—underscores why open-source projects need rigorous testing of user-supplied patterns.
Read the full reporting
I Found a Silent Bug in Formbricks That Crashes Live Surveys at Runtime →
DEV Community
formbricksregex-validation