# CVE-2022-39226: Discourse user profile location and website fields were not sufficiently length-limited

- 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): 1.05%, higher than 65% of CVEs (2026-12-01)
- Published: 2022-09-29T20:05:11.000Z
- Modified: 2026-09-08T08:46:07.026Z
- Also known as: BIT-DISCOURSE-2022-39226, GHSA-jw3q-xg5g-qjrw
- Weaknesses: CWE-20, CWE-770
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Discourse is an open source discussion platform. In versions prior to 2.8.9 on the `stable` branch and prior to 2.9.0.beta10 on the `beta` and `tests-passed` branches, a malicious actor can add large payloads of text into the Location and Website fields of a user profile, which causes issues for other users when loading that profile. A fix to limit the length of user input for these fields is included in version 2.8.9 on the `stable` branch and version 2.9.0.beta10 on the `beta` and `tests-passed` branches. There are no known workarounds.

(As written by CVE List.)

## Affected

- discourse discourse: < 2.8.9; >= 2.9.0.beta0, < 2.9.0.beta10; before 2.8.9; 2.9.0
- discourse (Bitnami): before 2.8.9

## 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 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/discourse/discourse/security/advisories/GHSA-jw3q-xg5g-qjrw> (advisory, third-party-advisory)
- <https://github.com/discourse/discourse/pull/18302> (advisory, patch, third-party-advisory)
- <https://github.com/discourse/discourse/commit/e69f7d2fd9c977dedbdb17f6813651e2a45bfb71> (advisory, patch, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-39226> (web)

## Sources

- CVE List: [CVE-2022-39226](https://www.cve.org/CVERecord?id=CVE-2022-39226), CVE Terms of Use, modified 2025-04-23
- NVD: [CVE-2022-39226](https://nvd.nist.gov/vuln/detail/CVE-2022-39226), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-DISCOURSE-2022-39226](https://osv.dev/vulnerability/BIT-DISCOURSE-2022-39226), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2022-39226 · Whole record: https://cve.day/CVE-2022-39226.json · Rebuilt by cve.day 2026-11-25T22:58:15.377Z
