{"id":"CVE-2023-43658","published":"2023-10-16T21:28:57Z","modified":"2024-09-16T15:48:22Z","title":"Improper escaping of user input in discourse-calendar","vendor":"discourse","product":"discourse-calendar","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00823,"percentile":0.54438,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"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","tags":["x_refsource_MISC"]},{"url":"https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP","tags":["x_refsource_MISC"]}],"priority":{"score":16.5,"factors":[{"name":"EPSS percentile","points":10.89},{"name":"CVSS severity","points":5.6}]},"vendorSlug":"discourse","affectedVersions":[{"vendor":"discourse","product":"discourse-calendar","versions":["< 97883109"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-09-16T15:23:09.684587Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-48047","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-discourse-calendar-cve-2023-43658","children":[{"from":"CVE-2023-43658","to":"CVE-2024-24817","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["plugin.rb"],"commits":["https://github.com/discourse/discourse-calendar/commit/9788310906febb36822d6823d14f1059c39644de","https://github.com/discourse/discourse-calendar/commit/84ef46a38cf02748ecacad16c5d9c6fec12dc8da"],"basis":"rarely changed file"}]},{"from":"CVE-2023-43658","to":"CVE-2024-45303","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["plugin.rb"],"commits":["https://github.com/discourse/discourse-calendar/commit/9788310906febb36822d6823d14f1059c39644de","https://github.com/discourse/discourse-calendar/commit/81e1c8e3c4c02276fb890da7e3f684259aeb685c"],"basis":"rarely changed file"}]}]}}