4.3medium
Discourse user profile location and website fields were not sufficiently length-limited
- Severity
- 4.3medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.05% (higher than 65% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- BIT-DISCOURSE-2022-39226GHSA-jw3q-xg5g-qjrw
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| discourse discourse | < 2.8.9, >= 2.9.0.beta0, < 2.9.0.beta10, before 2.8.9, 2.9.0 | CVE List, NVD |
| discourse (Bitnami) | before 2.8.9 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| NVD | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| Bitnami Vulnerability Database | medium rating |
Classification
What each source says
CVE List
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.
NVD (es)
Discourse es una plataforma de discusión de código abierto. En versiones anteriores a 2.8.9 en la rama "stable" y anteriores a 2.9.0.beta10 en las ramas "beta" y "tests-passed", un actor malicioso puede añadir grandes cargas de texto en los campos Location y Website de un perfil de usuario, lo que causa problemas a otros usuarios cuando es cargado ese perfil. En versión 2.8.9 de la rama "stable" y en la versión 2.9.0.beta10 de las ramas "beta" y "tests-passed" es incluida una corrección para limitar la longitud de la entrada del usuario en estos campos. No se presentan mitigaciones conocidas
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-39226 changed 2025-04-23 | CVE Terms of Use |
| NVD | CVE-2022-39226 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-DISCOURSE-2022-39226 changed 2026-09-08 | Apache-2.0 |