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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| calcom | cal.diy | ≤ 4.7.15 | — |
References
- GitHub Security Advisory (GHSA-vgj7-76cw-h6f8) vendor-advisory
- Patch Commit patch
- VulnCheck Advisory: Cal.com through 4.7.15 Cross-Site Scripting via booking questions third-party-advisory