CVE-2024-58353
HIGH
8.9
CVSS 3.1
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.
Metadata
Severity & Metrics
8.9
HIGH CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L
Affected products (1)
| Vendor | Product | Platform | Versions |
|---|---|---|---|
| calcom | cal.diy | — | 0 ≤ 4.7.15 |
Weakness (CWE)
| CWE | Source | Description |
|---|---|---|
| CWE-80 | cna | Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) |
CVSS scores (2)
| Score | Severity | Version | Source | Vector |
|---|---|---|---|---|
| 9.3 | CRITICAL | 4.0 | cna | 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 |
| 8.9 | HIGH | 3.1 | cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L |
References (3)
- GitHub Security Advisory (GHSA-vgj7-76cw-h6f8) https://github.com/calcom/cal.diy/security/advisories/GHSA-vgj7-76cw-h6f8
- https://github.com/calcom/cal.diy/commit/00689fda0a30b8f933c096f02c1fe092a4206def https://github.com/calcom/cal.diy/commit/00689fda0a30b8f933c096f02c1fe092a4206def
- VulnCheck Advisory: Cal.com through 4.7.15 Cross-Site Scripting via booking questions https://www.vulncheck.com/advisories/cal-com-through-cross-site-scripting-via-booking-questions