Discourse is an open-source discussion platform. Prior to version 3.0.1 on the `stable` branch and version 3.1.0.beta2 on the `beta` and `tests-passed` branches, a malicious user can cause a regular expression denial of service using a carefully crafted user agent. This issue is patched in version 3.0.1 on the `stable` branch and version 3.1.0.beta2 on the `beta` and `tests-passed` branches. There are no known workarounds.
https://github.com/discourse/discourse/security/advisories/GHSA-mrfp-54hf-jrcv
https://github.com/discourse/discourse/pull/20002
https://github.com/discourse/discourse/commit/6d92c3cbdac431db99a450f360a3048bb3aaf458