{"id":"CVE-2021-32763","details":"OpenProject is open-source, web-based project management software. In versions prior to 11.3.3, the `MessagesController` class of OpenProject has a `quote` method that implements the logic behind the Quote button in the discussion forums, and it uses a regex to strip `\u003cpre\u003e` tags from the message being quoted. The `(.|\\s)` part can match a space character in two ways, so an unterminated `\u003cpre\u003e` tag containing `n` spaces causes Ruby's regex engine to backtrack to try 2\u003csup\u003en\u003c/sup\u003e states in the NFA. This will result in a Regular Expression Denial of Service. The issue is fixed in OpenProject 11.3.3. As a workaround, one may install the patch manually.","aliases":["GHSA-qqvp-j6gm-q56f"],"modified":"2026-08-07T19:57:36.565578Z","published":"2021-07-20T17:15:07.813Z","references":[{"type":"FIX","url":"https://github.com/opf/openproject/pull/9447.patch"},{"type":"FIX","url":"https://github.com/opf/openproject/security/advisories/GHSA-qqvp-j6gm-q56f"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/opf/openproject","events":[{"introduced":"0"},{"fixed":"4d9a133330792a06b58f080a21a5ef0575852cf5"}],"database_specific":{"cpe":"cpe:2.3:a:openproject:openproject:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"11.3.3"}],"source":"CPE_RANGE"}}],"versions":["v11.3.2","v11.3.1","v11.3.0","v11.2.4","v11.2.3","v11.2.2","v11.2.1","v11.2.0","v11.1.4","v11.1.3","v11.1.2","v11.1.1","v11.1.0","v11.0.4","v11.0.3","v11.0.2","v11.0.1","v11.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-32763.json"}}],"schema_version":"1.8.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}