{"id":"CVE-2022-23549","aliases":["CVE-2022-23549","BIT-DISCOURSE-2022-23549","GHSA-p47g-v5wr-p4xp"],"related":[],"kind":"vulnerability","state":"published","title":"Discourse vulnerable to bypass of post max_length using HTML comments","summary":"Discourse is an option source discussion platform. Prior to version 2.8.14 on the `stable` branch and version 2.9.0.beta16 on the `beta` and `tests-passed` branches, users can create posts with raw body longer than the `max_length` site setting by including html comments that are not counted toward the character limit. This issue is patched in versions 2.8.14 and 2.9.0.beta16. There are no known workarounds.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Discourse is an option source discussion platform. Prior to version 2.8.14 on the `stable` branch and version 2.9.0.beta16 on the `beta` and `tests-passed` branches, users can create posts with raw body longer than the `max_length` site setting by including html comments that are not counted toward the character limit. This issue is patched in versions 2.8.14 and 2.9.0.beta16. There are no known workarounds.","source":"cvelist"},{"lang":"es","text":"Discourse es una plataforma de discusión de fuentes de opciones. Antes de la versión 2.8.14 en la rama `stable` y la versión 2.9.0.beta16 en las ramas `beta` y `tests-passed`, los usuarios podían crear publicaciones con un cuerpo sin formato más largo que la configuración del sitio `max_length` al incluir html comentarios que no cuentan para el límite de caracteres. Este problema se solucionó en las versiones 2.8.14 y 2.9.0.beta16. No se conocen workarounds.","source":"nvd"}],"published":"2023-01-05T00:00:00.000Z","modified":"2026-09-08T08:46:10.396Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","score":5.7,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","score":5.7,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-20"],"affected":[{"ranges":[{"type":"custom","introduced":"2.8.14","fixed":"2.8.14","status":"affected"},{"type":"custom","introduced":"2.9.0.beta0","lastAffected":"2.9.0.beta0","status":"affected"},{"type":"custom","introduced":"2.9.0.beta16","fixed":"2.9.0.beta16","status":"affected"}],"vendor":"discourse","product":"discourse","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"2.8.14"},{"status":"affected","version":"2.9.0"},{"status":"affected","version":"2.9.0"},{"status":"affected","version":"2.9.0"},{"status":"affected","version":"2.9.0"},{"status":"affected","version":"2.9.0"},{"status":"affected","version":"2.9.0"},{"status":"affected","version":"2.9.0"},{"status":"affected","version":"2.9.0"},{"status":"affected","version":"2.9.0"},{"status":"affected","version":"2.9.0"},{"status":"affected","version":"2.9.0"},{"status":"affected","version":"2.9.0"},{"status":"affected","version":"2.9.0"},{"status":"affected","version":"3.0.0"}],"vendor":"discourse","product":"discourse","cpe":"cpe:2.3:a:discourse:discourse:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.8.14"}],"ecosystem":"Bitnami","package":"discourse","purl":"pkg:bitnami/discourse","source":"bitnami"}],"references":[{"url":"https://github.com/discourse/discourse/commit/bf6b08670a927cc80bb090b7a2e710b4b554e6a8","tags":["advisory","patch","third-party-advisory","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/discourse/discourse/security/advisories/GHSA-p47g-v5wr-p4xp","tags":["advisory","third-party-advisory","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23549","tags":["web"],"sources":["bitnami"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-03-10T21:00:30.999Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-23549","url":"https://www.cve.org/CVERecord?id=CVE-2022-23549","licence":"CVE Terms of Use","modified":"2025-03-10T21:32:15.478Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-23549","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23549","licence":"Public domain","modified":"2026-06-17T04:30:20.250Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-DISCOURSE-2022-23549","url":"https://osv.dev/vulnerability/BIT-DISCOURSE-2022-23549","licence":"Apache-2.0","modified":"2026-09-08T08:46:10.396Z"}],"updatedAt":"2026-11-25T22:58:18.057Z","epss":{"score":0.00718,"percentile":0.49705,"date":"2026-11-30T12:00:22.000Z"}}