CVE-2023-43658 Improper escaping of user input in discourse-calendar
An attacker can execute arbitrary scripts in the email preview UI if Content Security Policy is disabled, affecting Discourse forum administrators.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2023-43658?
CVE-2023-43658 is a high-severity cross-site scripting vulnerability in discourse-calendar, published on 16 Oct 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-79
Which versions are affected by CVE-2023-43658?
It affects 1 product.
Products include Discourse Discourse Calendar.
How do I fix CVE-2023-43658?
No fix has been published for CVE-2023-43658 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2023-43658 being exploited?
There is no known exploitation of CVE-2023-43658 in the wild and no public exploit code.
Other vulnerabilities in discourse-calendar
Sources
Also known as GHSA-3fwj-f6ww-7hr6.