CVE-2025-48062: discourse · Improper Encoding or Escaping of Output
Affects discourseSource CVE Database V5
Not known to be exploited · CVSS 7.1 High : upgrade to 3.4.4 soon.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 20% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.4.4
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 9 Jun 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Upgrade discourse/discourse to 3.4.4.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubdiscourse/discoursepkg:github/discourse/discourseOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
European organizations should prioritize upgrading Discourse installations to version 3.4.4 or later on the stable branch, or the corresponding patched beta or tests-passed versions. Until upgrades can be applied, administrators should override the email invitation templates to remove the {topic_title} variable, preventing injection of malicious HTML in emails. Organizations should also audit topic titles for suspicious or unexpected HTML content and restrict topic creation privileges to trusted users to reduce the risk of exploitation. Implementing email security controls such as DMARC, DKIM, and SPF can help reduce the risk of phishing emails reaching end users. End users should be trained to recognize suspicious invitation emails and avoid clicking on unexpected links. Monitoring email logs for unusual invitation activity and scanning outgoing emails for malicious content can provide early detection of exploitation attempts. Finally, organizations should maintain an incident response plan to quickly address any suspected compromise resulting from this vulnerability.
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}`.