Bug in Element Web Could Silently Block User-Submitted Bug Reports

A developer reviewing Element Web's bug-reporting code discovered that two await calls for optional crypto diagnostics were placed inside the critical path of report construction. If either call rejected, the entire report object would fail to form, preventing both the rageshake bundle and any Sentry event from leaving the browser. Element Web is the web client for Element, a Matrix-based messaging application. The flaw meant that a broken subsystem being diagnosed could effectively veto the diagnostic report a user explicitly chose to submit. The developer verified the issue against a real Sentry Browser SDK with a local transport, confirming zero events were captured before the fix and exactly one after.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in