CVE-2024-58353: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in calcom cal.diy
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.
AI Analysis
Technical Summary
CVE-2024-58353 is a critical cross-site scripting vulnerability in Cal.com cal.diy (<=4.7.15). The vulnerability occurs because booking question labels are rendered via React's dangerouslySetInnerHTML without input sanitization or CSP enforcement. An attacker able to create an event type with a crafted booking question label can inject malicious HTML/JavaScript that executes in the context of the booking view page (/booking/<id>). This affects self-hosted instances with open registration, increasing risk. The vulnerability is resolved in version 4.7.16.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary script code in the context of the booking view page, potentially leading to session hijacking, defacement, or other malicious actions against users viewing the booking page. The vulnerability requires the attacker to create an event type with a malicious label, so it primarily affects instances permitting such user input. The CVSS 4.0 score is 9.3 (critical), reflecting high impact and ease of exploitation with low attack complexity and no privileges required beyond low-level user access.
Mitigation Recommendations
Upgrade Cal.com cal.diy to version 4.7.16 or later, where this XSS vulnerability is fixed. Until upgrading, restrict event type creation permissions to trusted users only and consider implementing additional input validation or CSP as a temporary mitigation. Since this is a self-hosted product, patching the software is the primary remediation.
CVE-2024-58353: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in calcom cal.diy
Description
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.
CVSS v4.0
Score 9.3critical
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2024-58353 is a critical cross-site scripting vulnerability in Cal.com cal.diy (<=4.7.15). The vulnerability occurs because booking question labels are rendered via React's dangerouslySetInnerHTML without input sanitization or CSP enforcement. An attacker able to create an event type with a crafted booking question label can inject malicious HTML/JavaScript that executes in the context of the booking view page (/booking/<id>). This affects self-hosted instances with open registration, increasing risk. The vulnerability is resolved in version 4.7.16.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary script code in the context of the booking view page, potentially leading to session hijacking, defacement, or other malicious actions against users viewing the booking page. The vulnerability requires the attacker to create an event type with a malicious label, so it primarily affects instances permitting such user input. The CVSS 4.0 score is 9.3 (critical), reflecting high impact and ease of exploitation with low attack complexity and no privileges required beyond low-level user access.
Mitigation Recommendations
Upgrade Cal.com cal.diy to version 4.7.16 or later, where this XSS vulnerability is fixed. Until upgrading, restrict event type creation permissions to trusted users only and consider implementing additional input validation or CSP as a temporary mitigation. Since this is a self-hosted product, patching the software is the primary remediation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-06-08T15:20:35.497Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a6289ae9c2644c7f8c05b93
Added to database: 07/23/2026, 21:37:50 UTC
Last enriched: 07/30/2026, 22:20:39 UTC
Last updated: 09/06/2026, 10:52:03 UTC
Views: 76
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.