{"id":"CVE-2025-48062","published":"2025-06-09T12:33:57Z","modified":"2025-06-09T13:00:15Z","title":"Discourse vulnerable to HTML injection when inviting to topic via email","vendor":"discourse","product":"discourse","tier":"tail","description":{"text":"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}`.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00295,"percentile":0.22632,"provenance":"source"},"cwes":[{"id":"CWE-116","name":"Improper Encoding or Escaping of Output"},{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/discourse/discourse/security/advisories/GHSA-x8mp-chx3-6x2p","tags":["x_refsource_CONFIRM"]}],"priority":{"score":9.5,"factors":[{"name":"EPSS percentile","points":4.53},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"discourse","affectedVersions":[{"vendor":"discourse","product":"discourse","versions":["< 3.4.4","< 3.5.0.beta5","< 3.5.0.beta6-dev"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-06-09T12:59:58.570348Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-17465","exploited":false,"provenance":"source"}}