CVE-2025-67723
Cross-Site Scripting in Discourse Math Plugin (KaTeX
Publication date: 2026-01-28
Last updated on: 2026-02-09
Assigner: GitHub, Inc.
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| discourse | discourse | to 3.5.4 (exc) |
| discourse | discourse | From 2025.11.0 (inc) to 2025.11.2 (exc) |
| discourse | discourse | 2025.12.0 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-79 | The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a cross-site scripting (XSS) issue in the Discourse Math plugin when using its KaTeX variant. It is mitigated by the content-security-policy but still present in versions prior to 3.5.4, 2025.11.2, 2025.12.1, and 2026.1.0. The vulnerability allows an attacker to inject malicious scripts via the Math plugin, potentially exploiting the platform.
How can this vulnerability impact me? :
The vulnerability can lead to limited integrity and availability impacts on the Discourse platform. An attacker could execute malicious scripts, which might alter content or disrupt service availability. However, confidentiality is not affected according to the CVSS score.
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, you should upgrade the Discourse platform to one of the patched versions: 3.5.4, 2025.11.2, 2025.12.1, or 2026.1.0. Alternatively, you can disable the Discourse Math plugin or configure it to use the Mathjax provider instead of the KaTeX variant.