CVE-2022-39226
JSON

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 packageVersionsReported by
discourse discourse< 2.8.9, >= 2.9.0.beta0, < 2.9.0.beta10, before 2.8.9, 2.9.0CVE List, NVD
discourse (Bitnami)before 2.8.9Bitnami Vulnerability Database

All scores

GitHub_M4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
NVD4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Bitnami Vulnerability Databasemedium rating

Classification

CWE-20CWE-770

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

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

Sources

SourceRecordLicence
CVE ListCVE-2022-39226 changed 2025-04-23CVE Terms of Use
NVDCVE-2022-39226 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-DISCOURSE-2022-39226 changed 2026-09-08Apache-2.0