{"id":"CVE-2023-22455","state":"PUBLISHED","title":"Discourse vulnerable to Cross-site Scripting through tag descriptions","description":"Discourse is an option source discussion platform. Prior to version 2.8.14 on the `stable` branch and version 3.0.0.beta16 on the `beta` and `tests-passed` branches, tag descriptions, which can be updated by moderators, can be used for cross-site scripting attacks. This vulnerability can lead to a full XSS on sites which have modified or disabled Discourse’s default Content Security Policy. Versions 2.8.14 and 3.0.0.beta16 contain a patch.","publishedAt":"2023-01-05T20:02:40.608Z","updatedAt":"2025-03-10T21:31:40.480Z","severity":{"score":6.8,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["discourse discourse"],"affected":[{"vendor":"discourse","product":"discourse","versions":[{"version":"< 2.8.14","status":"affected"},{"version":">= 2.9.0.beta0, < 3.0.0.beta16","status":"affected"}]}],"references":["https://github.com/discourse/discourse/security/advisories/GHSA-5rq6-466r-6mr9","https://github.com/discourse/discourse/commit/692329896ac64d8581947e977202c243eef3b5a2"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:05:43.909Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/22xxx/CVE-2023-22455.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-22455","state":"PUBLISHED","datePublished":"2023-01-05T20:02:40.608Z","dateUpdated":"2025-03-10T21:31:40.480Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2022-12-29T03:00:40.877Z"},"containers":{"cna":{"title":"Discourse vulnerable to Cross-site Scripting through tag descriptions","descriptions":[{"lang":"en","value":"Discourse is an option source discussion platform. Prior to version 2.8.14 on the `stable` branch and version 3.0.0.beta16 on the `beta` and `tests-passed` branches, tag descriptions, which can be updated by moderators, can be used for cross-site scripting attacks. This vulnerability can lead to a full XSS on sites which have modified or disabled Discourse’s default Content Security Policy. Versions 2.8.14 and 3.0.0.beta16 contain a patch."}],"affected":[{"vendor":"discourse","product":"discourse","versions":[{"version":"< 2.8.14","status":"affected"},{"version":">= 2.9.0.beta0, < 3.0.0.beta16","status":"affected"}]}],"references":[{"url":"https://github.com/discourse/discourse/security/advisories/GHSA-5rq6-466r-6mr9","name":"https://github.com/discourse/discourse/security/advisories/GHSA-5rq6-466r-6mr9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/discourse/discourse/commit/692329896ac64d8581947e977202c243eef3b5a2","name":"https://github.com/discourse/discourse/commit/692329896ac64d8581947e977202c243eef3b5a2","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":6.8,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/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-01-05T20:02:40.608Z"},"source":{"advisory":"GHSA-5rq6-466r-6mr9","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/discourse/discourse/security/advisories/GHSA-5rq6-466r-6mr9","name":"https://github.com/discourse/discourse/security/advisories/GHSA-5rq6-466r-6mr9","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/discourse/discourse/commit/692329896ac64d8581947e977202c243eef3b5a2","name":"https://github.com/discourse/discourse/commit/692329896ac64d8581947e977202c243eef3b5a2","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T10:13:48.359Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-03-10T20:58:47.673235Z","id":"CVE-2023-22455","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":"2025-03-10T21:31:40.480Z"}}]}}}