CVE-2023-22455
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network with an admin-level account, but needs a user to act. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 0.5% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.5% in the next 30 days (EPSS).
- Severity: 6.8 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.5% · EPSS, next 30 days
- Weakness
- CWE-79 · Cross-site scripting
- Record status
- Modified
Affected
- Discourse < 2.8.14
- Discourse 1.1.0
- Discourse 1.2.0
- Discourse 1.3.0
- Discourse 1.4.0
- Discourse 1.5.0
- Discourse 1.6.0
- Discourse 1.7.0
Attack profile CVSS 3.1 · 6.8
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- High
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Raw vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2023-22455.md and follow it. Check whether this project is affected by CVE-2023-22455. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/discourse/discourse/commit/692329896ac64d8581947e977202c243eef3b5a2
- https://github.com/discourse/discourse/security/advisories/GHSA-5rq6-466r-6mr9
- https://github.com/discourse/discourse/commit/692329896ac64d8581947e977202c243eef3b5a2
- https://github.com/discourse/discourse/security/advisories/GHSA-5rq6-466r-6mr9
References
- https://github.com/discourse/discourse/commit/692329896ac64d8581947e977202c243eef3b5a2
- https://github.com/discourse/discourse/security/advisories/GHSA-5rq6-466r-6mr9
- https://github.com/discourse/discourse/commit/692329896ac64d8581947e977202c243eef3b5a2
- https://github.com/discourse/discourse/security/advisories/GHSA-5rq6-466r-6mr9