CVE-2026-57858: Cal.com Cal.diy 6.2.0 Stored XSS via BookingPageTagManager Analytics Tracking ID
Cal.com Cal.diy versions 2.1.1 through 6.2.0 contain a stored cross-site scripting vulnerability in the BookingPageTagManager component that allows authenticated event owners to inject arbitrary JavaScript by supplying a malicious analytics tracking ID without sanitization. Attackers can close the inline script string literal with a crafted payload that executes in the browser of every visitor to the affected public booking page, enabling session cookie theft, forged authenticated requests, and wormable propagation by chaining with CSRF-able endpoints to persist payloads on additional events.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Cal.com Cal.diyto a version that resolves this vulnerability.Fixed in 6.2.0 - Upgrade
Upgrade
Cal.com Cal.diyto a version that resolves this vulnerability.Fixed in 2.1.1 - Upgrade
Upgrade
Cal.com Cal.diyto a version that resolves this vulnerability.Fixed in 6.2.0Patch Stored XSS via BookingPageTagManager Analytics Tracking ID - Configuration
Ensure the BookingPageTagManager "Analytics Tracking ID" input is properly sanitized/validated to prevent stored XSS injection (the issue occurs when a malicious analytics tracking ID is supplied without sanitization).
BookingPageTagManager (Cal.com Cal.diy) Analytics Tracking ID = Sanitize/validate to prevent injection (do not allow unsanitized JavaScript from the tracking ID)
Event History
Frequently Asked Questions
What is the severity of CVE-2026-57858?
CVE-2026-57858 has a severity rating of high, with a score of 8.9.
How do I fix CVE-2026-57858?
To fix CVE-2026-57858, upgrade Cal.com Cal.diy to a version above 6.2.0 where the vulnerability is resolved.
Who is affected by CVE-2026-57858?
Authenticated event owners using Cal.com Cal.diy versions 2.1.1 to 6.2.0 are affected by CVE-2026-57858.
What type of vulnerability is CVE-2026-57858?
CVE-2026-57858 is a stored cross-site scripting (XSS) vulnerability.
What can attackers do with CVE-2026-57858?
Attackers can exploit CVE-2026-57858 to inject arbitrary JavaScript code via a malicious analytics tracking ID.