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.
Published: 2026-07-23
Score: 9.3 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Tue, 28 Jul 2026 02:30:00 +0000

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

Fri, 24 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 23 Jul 2026 23:45:00 +0000

Type Values Removed Values Added
First Time appeared Calcom
Calcom cal.diy
Vendors & Products Calcom
Calcom cal.diy

Thu, 23 Jul 2026 21:45:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-28T01:47:45.196Z

Reserved: 2026-06-08T15:20:35.497Z

Link: CVE-2024-58353

cve-icon Vulnrichment

Updated: 2026-07-24T14:05:24.895Z

cve-icon NVD

Status : Deferred

Published: 2026-07-23T22:16:51.080

Modified: 2026-07-30T16:41:25.650

Link: CVE-2024-58353

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T21:00:12Z

Weaknesses
  • CWE-80

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