# CVE-2021-32763: Regular Expression Denial of Service in OpenProject forum messages

- Severity: Medium 4.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.92%, higher than 61% of CVEs (2026-12-01)
- Published: 2021-07-20T16:50:10.000Z
- Modified: 2026-06-17T03:53:34.867Z
- Weaknesses: CWE-400
- Assigned by: GitHub_M

## Description

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 `<pre>` tags from the message being quoted. The `(.|\s)` part can match a space character in two ways, so an unterminated `<pre>` tag containing `n` spaces causes Ruby's regex engine to backtrack to try 2<sup>n</sup> 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.

(As written by CVE List.)

## Affected

- opf openproject: < 11.3.3
- openproject openproject: before 11.3.3

## Every score

- GitHub_M: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:N/I:N/A:P`

## References

- <https://github.com/opf/openproject/security/advisories/GHSA-qqvp-j6gm-q56f> (patch, third-party-advisory)
- <https://github.com/opf/openproject/pull/9447.patch> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2021-32763](https://www.cve.org/CVERecord?id=CVE-2021-32763), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-32763](https://nvd.nist.gov/vuln/detail/CVE-2021-32763), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-32763 · Whole record: https://cve.day/CVE-2021-32763.json · Rebuilt by cve.day 2026-11-25T22:58:02.744Z
