CVE-2024-45303 Discourse Calendar plugin event names susceptible to XSS
Attackers can inject malicious scripts via event names in Discourse Calendar, requiring disabled CSP, leading to potential account takeover.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-45303?
CVE-2024-45303 is a medium-severity cross-site scripting vulnerability in discourse-calendar, published on 12 Sep 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Discourse Calendar plugin adds the ability to create a dynamic calendar in the first post of a topic to Discourse. Rendering event names can be susceptible to XSS attacks. This vulnerability only affects sites which have modified or disabled Discourse’s default Content Security Policy. The issue is patched in version 0.5 of the Discourse Calendar plugin.
Weakness: CWE-79
Which versions are affected by CVE-2024-45303?
It affects 1 product.
Products include Discourse Calendar.
How do I fix CVE-2024-45303?
No fix has been published for CVE-2024-45303 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-2024-45303 being exploited?
There is no known exploitation of CVE-2024-45303 in the wild and no public exploit code.
Other vulnerabilities in discourse-calendar
Sources
Also known as GHSA-rq37-8pf3-4xc8.