CVE-2024-58353: Cal.com through 4.7.15 Cross-Site Scripting via booking questions
Cal.com (repository calcom/cal.diy) in versions <= 4.7.15 is vulnerable to cross-site scripting (XSS) on the publicly accessible single booking view (e.g., /booking/<id>). Booking question (form field) labels are rendered via React's dangerouslySetInnerHTML without proper input sanitization or CSP, so an attacker who can create an event type with a malicious booking question label can inject arbitrary HTML/JavaScript that executes when a victim visits the booking view URL. Self-hosted instances with open registration are particularly at risk. The issue is fixed in version 4.7.16.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
calcom/cal.diyto a version that resolves this vulnerability.Fixed in 4.7.16
Event History
Frequently Asked Questions
What is the severity of CVE-2024-58353?
CVE-2024-58353 has a severity rating of 8.9, indicating a high risk level.
How do I fix CVE-2024-58353?
To mitigate CVE-2024-58353, upgrade Cal.com to version 4.7.16 or later where the vulnerability has been addressed.
What type of vulnerability is CVE-2024-58353?
CVE-2024-58353 is a cross-site scripting (XSS) vulnerability affecting the booking question labels.
Which versions of Cal.com are affected by CVE-2024-58353?
CVE-2024-58353 affects all Cal.com versions up to and including 4.7.15.
What is the impact of CVE-2024-58353 on users?
CVE-2024-58353 could allow an attacker to execute malicious scripts in the context of a user's browser, leading to session hijacking or data theft.