{"id":"CVE-2023-43658","state":"PUBLISHED","title":"Improper escaping of user input in discourse-calendar","description":"dicourse-calendar is a plugin for the Discourse messaging platform which adds the ability to create a dynamic calendar in the first post of a topic. Improper escaping of event titles could lead to Cross-site Scripting (XSS) within the 'email preview' UI when a site has CSP disabled. Having CSP disabled is a non-default configuration, so the vast majority of sites are unaffected. This problem is resolved in the latest version of the discourse-calendar plugin. Users are advised to upgrade. Users unable to upgrade should ensure CSP is enabled on the forum.","publishedAt":"2023-10-16T21:28:57.341Z","updatedAt":"2024-09-16T15:48:22.849Z","severity":{"score":8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["discourse discourse-calendar"],"affected":[{"vendor":"discourse","product":"discourse-calendar","versions":[{"version":"< 97883109","status":"affected"}]}],"references":["https://github.com/discourse/discourse-calendar/security/advisories/GHSA-3fwj-f6ww-7hr6","https://github.com/discourse/discourse-calendar/commit/9788310906febb36822d6823d14f1059c39644de","https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:06:17.512Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/43xxx/CVE-2023-43658.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-43658","state":"PUBLISHED","datePublished":"2023-10-16T21:28:57.341Z","dateUpdated":"2024-09-16T15:48:22.849Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2023-09-20T15:35:38.148Z"},"containers":{"cna":{"title":"Improper escaping of user input in discourse-calendar","descriptions":[{"lang":"en","value":"dicourse-calendar is a plugin for the Discourse messaging platform which adds the ability to create a dynamic calendar in the first post of a topic. Improper escaping of event titles could lead to Cross-site Scripting (XSS) within the 'email preview' UI when a site has CSP disabled. Having CSP disabled is a non-default configuration, so the vast majority of sites are unaffected. This problem is resolved in the latest version of the discourse-calendar plugin. Users are advised to upgrade. Users unable to upgrade should ensure CSP is enabled on the forum."}],"affected":[{"vendor":"discourse","product":"discourse-calendar","versions":[{"version":"< 97883109","status":"affected"}]}],"references":[{"url":"https://github.com/discourse/discourse-calendar/security/advisories/GHSA-3fwj-f6ww-7hr6","name":"https://github.com/discourse/discourse-calendar/security/advisories/GHSA-3fwj-f6ww-7hr6","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/discourse/discourse-calendar/commit/9788310906febb36822d6823d14f1059c39644de","name":"https://github.com/discourse/discourse-calendar/commit/9788310906febb36822d6823d14f1059c39644de","tags":["x_refsource_MISC"]},{"url":"https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP","name":"https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2023-10-16T21:28:57.341Z"},"source":{"advisory":"GHSA-3fwj-f6ww-7hr6","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/discourse/discourse-calendar/security/advisories/GHSA-3fwj-f6ww-7hr6","name":"https://github.com/discourse/discourse-calendar/security/advisories/GHSA-3fwj-f6ww-7hr6","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/discourse/discourse-calendar/commit/9788310906febb36822d6823d14f1059c39644de","name":"https://github.com/discourse/discourse-calendar/commit/9788310906febb36822d6823d14f1059c39644de","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP","name":"https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T19:44:43.814Z"}},{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"discourse","product":"discourse_calendar","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThanOrEqual":"9d1726fe","versionType":"custom"}],"cpes":["cpe:2.3:a:discourse:discourse_calendar:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-09-16T15:23:09.684587Z","id":"CVE-2023-43658","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-09-16T15:48:22.849Z"}}]}}}