HTML Injection Flaw in Discourse Invitation System

Check todaySensitive data exposure over the network by a logged-in user.
7.1HIGH

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
discourse < 3.4.4 to below 3.4.4 is vulnerable
discourse < 3.5.0.beta5 to below 3.5.0.beta5 is vulnerable
discourse < 3.5.0.beta6-dev to below 3.5.0.beta6-dev is vulnerable

Install the discourse release that fixes your version line, or later:

3.4.43.5.0.beta53.5.0.beta6-dev
Read the vendor advisory ↗
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

  1. HTML Injection: An attacker can inject HTML into email invitations, which may lead to phishing or other malicious activities.

References

Authorization Flaw in Discourse

CVE-2026-44787
DiscourseDiscourse8.2HIGH
View more Discourse vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction

CVSS V3.1

Score:
7.1
Severity:
HIGH
Confidentiality:
High
Integrity:
Low
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged
.