# CVE-2025-48062: Discourse vulnerable to HTML injection when inviting to topic via email

- Severity: High 7.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N`
- 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): 0.29%, higher than 23% of CVEs (2026-12-01)
- Published: 2025-06-09T12:33:57.870Z
- Modified: 2026-09-10T16:00:32.939Z
- Also known as: BIT-DISCOURSE-2025-48062, GHSA-x8mp-chx3-6x2p
- Weaknesses: CWE-79, CWE-116
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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}`.

(As written by CVE List.)

## Affected

- discourse discourse: < 3.4.4; < 3.5.0.beta5; < 3.5.0.beta6-dev; before 3.4.4; before 3.5.0; 3.5.0
- discourse (Bitnami): before 3.4.4

## Every score

- GitHub_M: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/discourse/discourse/security/advisories/GHSA-x8mp-chx3-6x2p> (advisory, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-48062> (web)

## Sources

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

---

Page: https://cve.day/CVE-2025-48062 · Whole record: https://cve.day/CVE-2025-48062.json · Rebuilt by cve.day 2026-11-25T22:58:58.938Z
