{"api_version":"1","generated_at":"2026-07-23T10:54:08+00:00","cve":"CVE-2022-36057","urls":{"html":"https://cve.report/CVE-2022-36057","api":"https://cve.report/api/cve/CVE-2022-36057.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-36057","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-36057"},"summary":{"title":"CVE-2022-36057","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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2022-09-06 20:15:00","updated_at":"2022-09-09 16:32:00"},"problem_types":["CWE-79","CWE-80"],"metrics":[],"references":[{"url":"https://github.com/discourse/discourse-chat/security/advisories/GHSA-3vf2-wrjx-p6xj","name":"https://github.com/discourse/discourse-chat/security/advisories/GHSA-3vf2-wrjx-p6xj","refsource":"CONFIRM","tags":[],"title":"XSS issue for channel names and descriptions · Advisory · discourse/discourse-chat · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/discourse/discourse-chat/pull/1205","name":"https://github.com/discourse/discourse-chat/pull/1205","refsource":"MISC","tags":[],"title":"SECURITY: Ensure htmlSafe content is properly escaped. by romanrizzi · Pull Request #1205 · discourse/discourse-chat · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-36057","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36057","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"36057","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"discourse","cpe5":"discourse-chat","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"discourse","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"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"}},"nvd":{"publishedDate":"2022-09-06 20:15:00","lastModifiedDate":"2022-09-09 16:32:00","problem_types":["CWE-79","CWE-80"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"HIGH","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":4.8,"baseSeverity":"MEDIUM"},"exploitabilityScore":1.7,"impactScore":2.7}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:discourse:discourse-chat:*:*:*:*:*:discourse:*:*","versionEndExcluding":"0.9","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}