CVE-2025-48062
June 09, 2025
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 Packages
https://github.com/discourse/discourse.git (GITHUB):
Affected version(s) >=v2.0.0 <v3.4.5Fix Suggestion:
Update to version v3.4.5Additional Notes
The description of this vulnerability differs from MITRE.
Related ResourcesĀ (1)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.1
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.1
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
EPSS
Base Score:
0.05