CVE-2024-58353

Cal.com through 4.7.15 Cross-Site Scripting via booking questions

Published Jul 23, 2026 CVSS 4.0 · 9.3 Critical EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Cal.com, in the calcom/cal.diy repository, has a cross‑site scripting flaw in all releases up to and including version 4.7.15. The vulnerable area is the booking‑question label, which is rendered with React’s dangerouslySetInnerHTML without sanitization. An attacker who can create an event type can insert arbitrary HTML or JavaScript into the label, and the code will execute in the browser of any user who visits the public booking URL. This flaw allows the attacker to run code with the victim’s browser context.

Affected Systems

Affected systems are self‑hosted Cal.com installations that use the calcom/cal.diy product and are running any version up to 4.7.15. Systems that allow open registration or permit unauthenticated users to create event types are at higher risk.

Risk and Exploitability

The CVSS score of 9.3 denotes a high‑severity vulnerability. The EPSS score of less than 1% indicates a low probability of exploitation in the wild at the time of this analysis. The flaw is not listed in the CISA KEV catalog. Exploitation requires the attacker’s ability to create a malicious event type, after which the injected script runs when a visitor opens the public booking page.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Cal.com to version 4.7.16 or later to remove the vulnerable rendering path
  • Restrict permission to add booking questions to administrators or require administrative review of new event types
  • Implement a Content‑Security‑Policy that disallows inline scripts and limits script sources

Generated by OpenCVE AI on August 3, 2026 at 20:55 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Cal
Cal cal.com
CPEs cpe:2.3:a:cal:cal.com:*:*:*:*:*:*:*:*
Vendors & Products Cal
Cal cal.com
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Calcom
Calcom cal.diy
Vendors & Products Calcom
Calcom cal.diy
Type Values Removed Values Added
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.
Title Cal.com through 4.7.15 Cross-Site Scripting via booking questions
Weaknesses CWE-80
References
Metrics cvssV3_1

{'score': 8.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L'}

cvssV4_0

{'score': 9.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:L/SC:H/SI:H/SA:L'}

Weaknesses
  • CWE-80

    Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Jul 28, 2026, 1:47 AM
Reserved
Jun 8, 2026, 3:20 PM
Status
Deferred
Published
Jul 23, 2026, 10:16 PM
Modified
Jul 30, 2026, 4:41 PM