{"id":"CVE-2022-36057","state":"PUBLISHED","title":"Discourse-Chat Cross-Site Scripting issue for channel names and descriptions","description":"Discourse-Chat is an asynchronous messaging plugin for the Discourse open-source discussion platform. Users of Discourse Chat can be affected by admin users inserting HTML into chat titles and descriptions, causing a Cross-Site Scripting (XSS) attack. Version 0.9 contains a patch for this issue.","publishedAt":"2022-09-06T19:30:14.000Z","updatedAt":"2025-04-23T17:14:30.715Z","severity":{"score":5.4,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["discourse discourse-chat"],"affected":[{"vendor":"discourse","product":"discourse-chat","versions":[{"version":"< 0.9","status":"affected"}]}],"references":["https://github.com/discourse/discourse-chat/security/advisories/GHSA-3vf2-wrjx-p6xj","https://github.com/discourse/discourse-chat/pull/1205"],"weaknesses":["CWE-80","CWE-79"],"ingestedAt":"2026-10-29T19:50:21.136Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/36xxx/CVE-2022-36057.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-36057","state":"PUBLISHED","datePublished":"2022-09-06T19:30:14.000Z","dateUpdated":"2025-04-23T17:14:30.715Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2022-07-15T00:00:00.000Z"},"containers":{"cna":{"title":"Discourse-Chat Cross-Site Scripting issue for channel names and descriptions","descriptions":[{"lang":"en","value":"Discourse-Chat is an asynchronous messaging plugin for the Discourse open-source discussion platform. Users of Discourse Chat can be affected by admin users inserting HTML into chat titles and descriptions, causing a Cross-Site Scripting (XSS) attack. Version 0.9 contains a patch for this issue."}],"affected":[{"vendor":"discourse","product":"discourse-chat","versions":[{"version":"< 0.9","status":"affected"}]}],"references":[{"url":"https://github.com/discourse/discourse-chat/security/advisories/GHSA-3vf2-wrjx-p6xj","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/discourse/discourse-chat/pull/1205","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.4,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-80","description":"CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","dateUpdated":"2022-09-06T19:30:14.000Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa"},"source":{"advisory":"GHSA-3vf2-wrjx-p6xj","discovery":"UNKNOWN"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2022-36057","STATE":"PUBLIC","TITLE":"Discourse-Chat Cross-Site Scripting issue for channel names and descriptions"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"discourse-chat","version":{"version_data":[{"version_value":"< 0.9"}]}}]},"vendor_name":"discourse"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"Discourse-Chat is an asynchronous messaging plugin for the Discourse open-source discussion platform. Users of Discourse Chat can be affected by admin users inserting HTML into chat titles and descriptions, causing a Cross-Site Scripting (XSS) attack. Version 0.9 contains a patch for this issue."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.4,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)"}]},{"description":[{"lang":"eng","value":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"}]}]},"references":{"reference_data":[{"name":"https://github.com/discourse/discourse-chat/security/advisories/GHSA-3vf2-wrjx-p6xj","refsource":"CONFIRM","url":"https://github.com/discourse/discourse-chat/security/advisories/GHSA-3vf2-wrjx-p6xj"},{"name":"https://github.com/discourse/discourse-chat/pull/1205","refsource":"MISC","url":"https://github.com/discourse/discourse-chat/pull/1205"}]},"source":{"advisory":"GHSA-3vf2-wrjx-p6xj","discovery":"UNKNOWN"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/discourse/discourse-chat/security/advisories/GHSA-3vf2-wrjx-p6xj","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/discourse/discourse-chat/pull/1205","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T09:52:00.416Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-04-23T14:01:23.903307Z","id":"CVE-2022-36057","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-04-23T17:14:30.715Z"}}]}}}