HTML Injection Flaw in Discourse Invitation System
CVE-2025-48062
Key Information:
- Vendor
Discourse
- Status
- CVE ID
- CVE ID:
- CVE-2025-48062
- Vendor
- CVE Published:
- 9 June 2025
- Fixed in
- Fixed in:
- 3.4.4, 3.5.0.beta5, 3.5.0.beta6-dev
Timeline
Vulnerability published
Vulnerability Reserved
How risky is it?
- Partly: Works over the network, but needs a login
- No: No public exploit yet
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Check today
Find out if you're affected. If you are, patch.
What to do
1Update to a fixed version
Install the discourse release that fixes your version line, or later:
2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach discourse. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Why it's rated "Check today"
- Its CVSS severity is high (7.1).
What is CVE-2025-48062?
CVE-2025-48062 is a vulnerability in the Discourse discussion platform that allows for HTML injection through the invitation system. This flaw occurs when certain email invitations include a topic title containing HTML. An attacker can exploit this by sending an invitation with a crafted topic title, potentially leading to the execution of arbitrary HTML in the email body.
This issue affects versions prior to 3.4.4 of the stable branch, 3.5.0.beta5 of the beta branch, and 3.5.0.beta6-dev of the tests-passed branch. It can be mitigated by overriding the relevant templates without including {topic_title}.
Potential Impact of CVE-2025-48062
- HTML Injection: An attacker can inject HTML into email invitations, which may lead to phishing or other malicious activities.
References
More Discourse Vulnerabilities
Authorization Flaw in Discourse
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction