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 XSS vulnerability in Cal.com cal.diy (<=4.7.15) where booking question labels are rendered unsafely via React's dangerouslySetInnerHTML without sanitization or CSP. An attacker able to create an event type with a crafted booking question label can inject arbitrary script code that executes in the context of users visiting the booking view URL. This primarily affects self-hosted instances with open registration. The vulnerability is resolved in version 4.7.16.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary HTML or JavaScript in the browsers of users visiting the affected booking view pages. This can lead to session hijacking, credential theft, or other malicious actions within the security context of the vulnerable application. The vulnerability is critical with a CVSS 4.0 score of 9.3, indicating high impact and ease of exploitation with low attack complexity and no privileges required beyond user registration.
Mitigation Recommendations
Upgrade affected Cal.com cal.diy instances to version 4.7.16 or later, where this vulnerability is fixed. Self-hosted deployments with open registration should prioritize this update. No other mitigations such as CSP or input sanitization are indicated as official fixes. Patch status is confirmed fixed in 4.7.16.
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 XSS vulnerability in Cal.com cal.diy (<=4.7.15) where booking question labels are rendered unsafely via React's dangerouslySetInnerHTML without sanitization or CSP. An attacker able to create an event type with a crafted booking question label can inject arbitrary script code that executes in the context of users visiting the booking view URL. This primarily affects self-hosted instances with open registration. The vulnerability is resolved in version 4.7.16.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary HTML or JavaScript in the browsers of users visiting the affected booking view pages. This can lead to session hijacking, credential theft, or other malicious actions within the security context of the vulnerable application. The vulnerability is critical with a CVSS 4.0 score of 9.3, indicating high impact and ease of exploitation with low attack complexity and no privileges required beyond user registration.
Mitigation Recommendations
Upgrade affected Cal.com cal.diy instances to version 4.7.16 or later, where this vulnerability is fixed. Self-hosted deployments with open registration should prioritize this update. No other mitigations such as CSP or input sanitization are indicated as official fixes. Patch status is confirmed fixed in 4.7.16.
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/23/2026, 21:52:38 UTC
Last updated: 07/23/2026, 22:52:49 UTC
Views: 3
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.