{"id":"CVE-2025-48062","aliases":["CVE-2025-48062","BIT-DISCOURSE-2025-48062","GHSA-x8mp-chx3-6x2p"],"related":[],"kind":"vulnerability","state":"published","title":"Discourse vulnerable to HTML injection when inviting to topic via email","summary":"Discourse is an open-source discussion platform. Prior to version 3.4.4 of the `stable` branch, version 3.5.0.beta5 of the `beta` branch, and version 3.5.0.beta6-dev of the `tests-passed` branch, certain invites via email may result in HTML injection in the email body if the topic title includes HTML. This includes inviting someone (without an account) to a PM and inviting someone (without an account) to a topic with a custom message. This issue is patched in version 3.4.4 of the `stable` branch, version 3.5.0.beta5 of the `beta` branch, and version 3.5.0.beta6-dev of the `tests-passed` branch. This can be worked around if the relevant templates are overridden without `{topic_title}`.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Discourse is an open-source discussion platform. Prior to version 3.4.4 of the `stable` branch, version 3.5.0.beta5 of the `beta` branch, and version 3.5.0.beta6-dev of the `tests-passed` branch, certain invites via email may result in HTML injection in the email body if the topic title includes HTML. This includes inviting someone (without an account) to a PM and inviting someone (without an account) to a topic with a custom message. This issue is patched in version 3.4.4 of the `stable` branch, version 3.5.0.beta5 of the `beta` branch, and version 3.5.0.beta6-dev of the `tests-passed` branch. This can be worked around if the relevant templates are overridden without `{topic_title}`.","source":"cvelist"},{"lang":"es","text":"Discourse es una plataforma de discusión de código abierto. En versiones anteriores a la 3.4.4 de la rama `stable`, la 3.5.0.beta5 de la rama `beta` y la 3.5.0.beta6-dev de la rama `tests-passed`, ciertas invitaciones por correo electrónico podían provocar la inyección de HTML en el cuerpo del correo si el título del tema incluía HTML. Esto incluye invitar a alguien (sin cuenta) a un mensaje privado y a un tema con un mensaje personalizado. Este problema se ha corregido en las versiones 3.4.4 de la rama `stable`, la 3.5.0.beta5 de la rama `beta` y la 3.5.0.beta6-dev de la rama `tests-passed`. Esto se puede solucionar sobrescribiendo las plantillas correspondientes sin `{topic_title}`.","source":"nvd"}],"published":"2025-06-09T12:33:57.870Z","modified":"2026-09-10T16:00:32.939Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","score":7.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-79","CWE-116"],"affected":[{"ranges":[{"version":"< 3.4.4","status":"affected"},{"version":"< 3.5.0.beta5","status":"affected"},{"version":"< 3.5.0.beta6-dev","status":"affected"}],"vendor":"discourse","product":"discourse","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"3.4.4"},{"status":"affected","fixed":"3.5.0"},{"status":"affected","version":"3.5.0"},{"status":"affected","version":"3.5.0"},{"status":"affected","version":"3.5.0"},{"status":"affected","version":"3.5.0"}],"vendor":"discourse","product":"discourse","cpe":"cpe:2.3:a:discourse:discourse:*:*:*:*:stable:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.4.4"}],"ecosystem":"Bitnami","package":"discourse","purl":"pkg:bitnami/discourse","source":"bitnami"}],"references":[{"url":"https://github.com/discourse/discourse/security/advisories/GHSA-x8mp-chx3-6x2p","tags":["advisory","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-48062","tags":["web"],"sources":["bitnami"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-06-09T12:59:58.570Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-48062","url":"https://www.cve.org/CVERecord?id=CVE-2025-48062","licence":"CVE Terms of Use","modified":"2025-06-09T13:00:15.272Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-48062","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-48062","licence":"Public domain","modified":"2026-06-17T09:29:05.293Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-DISCOURSE-2025-48062","url":"https://osv.dev/vulnerability/BIT-DISCOURSE-2025-48062","licence":"Apache-2.0","modified":"2026-09-10T16:00:32.939Z"}],"updatedAt":"2026-11-25T22:58:58.938Z","epss":{"score":0.00295,"percentile":0.23786,"date":"2026-12-01T12:00:22.000Z"}}