{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-26040","id":"CVE-2023-26040","title":"Discourse chat messages susceptible to Cross-site Scripting through chat excerpts","description":"Discourse is an open-source discussion platform. Between versions 3.1.0.beta2 and 3.1.0.beta3 of the `tests-passed` branch, editing or responding to a chat message containing malicious content could lead to a cross-site scripting attack. This issue is patched in version 3.1.0.beta3 of the `tests-passed` branch. There are no known workarounds.","descriptionLong":"Discourse is an open-source discussion platform. Between versions 3.1.0.beta2 and 3.1.0.beta3 of the `tests-passed` branch, editing or responding to a chat message containing malicious content could lead to a cross-site scripting attack. This issue is patched in version 3.1.0.beta3 of the `tests-passed` branch. There are no known workarounds.","published":"2023-03-17T14:45:35.889Z","updated":"2026-10-28T02:30:50.185766790Z","reserved":"2023-02-17T22:44:03.149Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","rating":"medium","source":"github.com"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","rating":"medium","source":"OSV"}],"rating":"medium","products":["discourse"],"affectedProducts":[{"vendor":"discourse","product":"discourse","defaultStatus":null,"versions":[{"version":"tests-passed > 3.1.0.beta2, < 3.1.0.beta3","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-79"],"aliases":["BIT-discourse-2023-26040","GHSA-ccfc-qpmp-gq87"],"references":[{"url":"https://github.com/discourse/discourse/security/advisories/GHSA-ccfc-qpmp-gq87","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory"]},{"url":"https://github.com/discourse/discourse/commit/a373bf2a01488c206e7feb28a9d2361b22ce6e70","tags":["x_refsource_MISC","x_transferred","Patch","fix"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/26xxx/CVE-2023-26040.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26040","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.0035,"epssPercentile":0.293,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-26040","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26040","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-26040","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-26040","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}