CVE-2025-48062
published high CVSS 3.1 · 7.1Discourse vulnerable to HTML injection when inviting to topic via email
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| discourse | — | discourse< 3.4.4 · < 3.5.0.beta5 · < 3.5.0.beta6-dev | Affected | Not stated | 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}`.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| discourse | discourse | < 3.4.4 (affected)< 3.5.0.beta5 (affected)< 3.5.0.beta6-dev (affected) | GitHub_M · cna |
Weaknesses
2- CWE-116 CWE-116: Improper Encoding or Escaping of Output
- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
1Provider assertions
2GitHub_M · cna
Discourse vulnerable to HTML injection when inviting to topic via email
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 68d74e09256f4601150fde17e84281f94c28b77c8d5409219c8a6149be51314e
- Ingested
- 23 Sep 2026, 08:50:18 UTC
- Source record
- Official CVE record