CVE-2025-48062

Discourse vulnerable to HTML injection when inviting to topic via email

MEDIUM
6.1
CVSS Score
Published: June 9, 2025 at 12:33 PM UTC
Updated: June 17, 2026 at 09:29 AM UTC
1 product affected across 1 vendorDiscourse

Using discourse by discourse?

Get instant alerts when new vulnerabilities affect discourse - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.1
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 3.4.4v < 3.5.0v < 3.5.0.beta5v < 3.5.0.beta6-dev3.5.0 beta13.5.0 beta23.5.0 beta33.5.0 beta4
Affected range stops below 3.4.4, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.5.0, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.5.0.beta5, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.5.0.beta6-dev, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-79CWE-116

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card