{"id":23324,"date":"2025-04-14T19:09:43","date_gmt":"2025-04-14T19:09:43","guid":{"rendered":""},"modified":"2025-06-06T05:17:46","modified_gmt":"2025-06-06T11:17:46","slug":"cve-2023-48297-discourse-platform-high-severity-vulnerability-due-to-expanded-chat-mentions","status":"publish","type":"post","link":"https:\/\/www.ameeba.com\/blog\/cve-2023-48297-discourse-platform-high-severity-vulnerability-due-to-expanded-chat-mentions\/","title":{"rendered":"<strong>CVE-2023-48297: Discourse platform high-severity vulnerability due to expanded chat mentions<\/strong>"},"content":{"rendered":"<p><strong>Overview<\/strong><\/p>\n<p>We are drawing attention to a significant vulnerability discovered in the Discourse community discussion platform, identified as CVE-2023-48297. This vulnerability, connected to the expanded chat mentions feature of the platform, carries a high CVSS Severity Score of 8.6, indicating its potential for system compromise or data leakage. Discourse is a widely used platform for community discussions, and thus, the vulnerability poses a significant risk to a large number of users, especially those running <a href=\"https:\/\/www.ameeba.com\/blog\/airborne-cybersecurity-the-threat-of-vulnerable-software-and-outdated-tech-in-the-aviation-industry\/\"  data-wpil-monitor-id=\"31581\">outdated versions of the software<\/a>. It is paramount that users <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2023-51063-understanding-and-mitigating-a-dom-based-xss-vulnerability-in-qstar-archive-solutions\/\"  data-wpil-monitor-id=\"28027\">understand this vulnerability<\/a> and take appropriate action to safeguard their systems.<\/p>\n<p><strong>Vulnerability Summary<\/strong><\/p>\n<p>CVE ID: CVE-2023-48297<br \/>\nSeverity: High, CVSS score 8.6<br \/>\nAttack Vector: Network<br \/>\nPrivileges Required: None<br \/>\nUser Interaction: Required<br \/>\nImpact: <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2023-43514-memory-corruption-vulnerability-leading-to-potential-system-compromise\/\"  data-wpil-monitor-id=\"31580\">Potential system<\/a> compromise or data leakage<\/p>\n<p><strong>Affected Products<\/strong><\/p><div id=\"ameeb-136516861\" class=\"ameeb-content-2 ameeb-entity-placement\"><div style=\"border-left: 4px solid #555; padding-left: 20px; margin: 48px 0; font-family: Roboto, sans-serif; color: #ffffff; line-height: 1.6; max-width: 700px;\">\r\n  <h2 style=\"margin-top: 0; font-size: 20px; font-weight: 600; display: flex; align-items: center;\">\r\n    <a href=\"https:\/\/www.ameeba.com\/chat\" style=\"display: inline-flex; align-items: center; margin-right: 8px;\">\r\n      <img decoding=\"async\" src=\"https:\/\/www.ameeba.com\/blog\/wp-content\/uploads\/2025\/10\/Best-App-icon-Ameeba.png\" alt=\"Ameeba Chat Icon\" style=\"width: 40px; height: 40px;\" \/>\r\n    <\/a>\r\n    A new way to communicate\r\n  <\/h2>\r\n\r\n  <p style=\"margin-bottom: 12px;\">\r\n    Ameeba Chat is built on encrypted identity, not personal profiles.\r\n  <\/p>\r\n\r\n  <p style=\"margin-bottom: 16px;\">\r\n    Message, call, share files, and coordinate with identities kept separate.\r\n  <\/p>\r\n\r\n  <ul style=\"list-style: none; padding-left: 0; margin-bottom: 20px;\">\r\n    <li>\u2022 Encrypted identity<\/li>\r\n    <li>\u2022 Ameeba Chat authenticates access<\/li>\r\n    <li>\u2022 Aliases and categories<\/li>\r\n    <li>\u2022 End-to-end encrypted chat, calls, and files<\/li>\r\n    <li>\u2022 Secure notes for sensitive information<\/li>\r\n  <\/ul>\r\n\r\n  <p style=\"font-style: italic; font-weight: 600; margin-bottom: 24px;\">\r\n    Private communication, rethought.\r\n  <\/p>\r\n\r\n  <div style=\"display: flex; flex-wrap: wrap; gap: 12px;\">\r\n    <a href=\"https:\/\/www.ameeba.com\/chat\/download\" style=\"background-color: #ffffff; color: #000000; padding: 10px 20px; text-decoration: none; border-radius: 6px; font-weight: 500;\">Download Ameeba Chat<\/a>\r\n    <a href=\"https:\/\/www.ameeba.com\/chat\" style=\"border: 1px solid #ffffff; color: #ffffff; padding: 10px 20px; text-decoration: none; border-radius: 6px; font-weight: 500;\">Learn More<\/a>\r\n  <\/div>\r\n<\/div>\r\n<\/div>\n<p>Product | Affected Versions<\/p>\n<p>Discourse | <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-3248-critical-code-injection-vulnerability-in-langflow-versions-prior-to-1-3-0\/\"  data-wpil-monitor-id=\"30425\">versions prior<\/a> to 3.1.4<br \/>\nDiscourse | <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2024-21632-critical-vulnerability-in-omniauth-microsoft-graph-prior-to-version-2-0-0\/\"  data-wpil-monitor-id=\"30704\">versions prior<\/a> to 3.2.0.beta5<\/p>\n<p><strong>How the Exploit Works<\/strong><\/p>\n<p>This <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-30511-stored-xss-vulnerability-due-to-improper-sanitization-of-plant-name-input\/\"  data-wpil-monitor-id=\"35947\">vulnerability arises due<\/a> to the message serializer&#8217;s use of the expanded chat mentions feature, specifically @all and @here mentions. When these expanded chat mentions are used, the serializer generates an array containing all users, which can become extremely long in larger communities. An attacker, by taking advantage of this feature, can cause a Denial of Service (DoS) attack or potentially access unauthorized data, <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2024-0572-critical-vulnerability-in-totolink-lr1200gb-leading-to-system-compromise\/\"  data-wpil-monitor-id=\"29006\">leading to system<\/a> compromise or data leakage.<\/p>\n<p><strong>Conceptual Example Code<\/strong><\/p><div id=\"ameeb-2179233811\" class=\"ameeb-content ameeb-entity-placement\"><div class=\"poptin-embedded\" data-id=\"f6b387694f681\"><\/div>\r\n\r\n\r\n\r\n\r\n\r\n<\/div>\n<p>Here is a conceptual example of how an attacker might <a href=\"https:\/\/www.ameeba.com\/blog\/fortinet-s-fortigate-vulnerability-ssl-vpn-symlink-exploit-puts-user-access-at-risk-post-patching\/\"  data-wpil-monitor-id=\"30076\">exploit the vulnerability<\/a>:<\/p>\n<pre><code class=\"\" data-line=\"\">POST \/message\/serializer HTTP\/1.1\nHost: discourse.example.com\nContent-Type: application\/json\n{\n&quot;username&quot;: &quot;attacker&quot;,\n&quot;mention&quot;: &quot;@all&quot;,\n&quot;message&quot;: &quot;This is a test message&quot;\n}<\/code><\/pre>\n<p>In this example, the attacker posts a message mentioning &#8220;@all&#8221;. The server then attempts to create an array containing all users on the platform, and this process could <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2024-0576-critical-vulnerability-in-totolink-lr1200gb-leading-to-potential-system-compromise\/\"  data-wpil-monitor-id=\"29384\">potentially lead to system<\/a> instability or unauthorized data access.<\/p>\n<p><strong>Mitigation Guidance<\/strong><\/p>\n<p>To <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-4335-privilege-escalation-vulnerability-in-woocommerce-multiple-addresses-plugin-for-wordpress\/\"  data-wpil-monitor-id=\"43760\">address this vulnerability<\/a>, users are advised to immediately apply the patches provided by the vendor. Discourse has released patches in versions 3.1.4 and beta 3.2.0.beta5, which resolve this issue. If immediate patching is not possible, using a Web Application Firewall (WAF) or Intrusion Detection System (IDS) can serve as a temporary mitigation measure. However, these should not be considered as long-term solutions, as they do not <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-48205-insecure-direct-object-reference-vulnerability-in-sr-feuser-register-extension-for-typo3\/\"  data-wpil-monitor-id=\"55145\">directly address the underlying vulnerability<\/a>. Regular patching and <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-2817-system-level-updater-vulnerability-in-thunderbird-s-update-mechanism\/\"  data-wpil-monitor-id=\"41088\">updates remain the best defense against such vulnerabilities<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview We are drawing attention to a significant vulnerability discovered in the Discourse community discussion platform, identified as CVE-2023-48297. This vulnerability, connected to the expanded chat mentions feature of the platform, carries a high CVSS Severity Score of 8.6, indicating its potential for system compromise or data leakage. Discourse is a widely used platform for [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"footnotes":""},"categories":[1],"tags":[],"vendor":[],"product":[],"attack_vector":[87],"asset_type":[],"severity":[],"exploit_status":[],"class_list":["post-23324","post","type-post","status-publish","format-standard","hentry","category-uncategorized","attack_vector-dos"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/23324","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/comments?post=23324"}],"version-history":[{"count":11,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/23324\/revisions"}],"predecessor-version":[{"id":49282,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/23324\/revisions\/49282"}],"wp:attachment":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/media?parent=23324"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/categories?post=23324"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/tags?post=23324"},{"taxonomy":"vendor","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/vendor?post=23324"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/product?post=23324"},{"taxonomy":"attack_vector","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/attack_vector?post=23324"},{"taxonomy":"asset_type","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/asset_type?post=23324"},{"taxonomy":"severity","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/severity?post=23324"},{"taxonomy":"exploit_status","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/exploit_status?post=23324"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}