CVE-2024-58355
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedCal.com (calcom/cal.diy) versions through 4.7.15 contain a stored cross-site scripting vulnerability. The single booking view (e.g., https://app.cal.com/booking/<id>) renders booking-question field labels via React's dangerouslySetInnerHTML without sanitizing or escaping user input. An attacker who can create an event type with a malicious booking-question label can inject arbitrary HTML/JavaScript that executes when a victim opens the crafted booking URL. The issue is fixed in v4.7.16.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceCal.com versions through 4.7.15 have a stored XSS vulnerability in the single booking view where booking-question field labels are rendered using React's dangerouslySetInnerHTML without sanitizing user input. An attacker who can create an event type with a malicious booking-question label can inject arbitrary JavaScript that executes when victims view the booking URL.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- Low
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check Cal.com installed versionLocate the Cal.com version file (package.json, VERSION file, or admin dashboard 'About' page) and note the version numberAffected if Version is 4.7.15 or earlier (any version through 4.7.15)
-
Identify active event types with booking questionsAccess the Cal.com admin or user dashboard, navigate to Event Types, and list all event types that have booking questions (custom inputs) enabledAffected if Any event type has booking questions configured
-
Inspect booking question field labelsExamine each event type's booking questions (custom inputs) and review the field labels for any suspicious HTML tags, script elements, or encoded payloads (e.g., <script>, onload=, onerror=, javascript:). Use the database directly if admin access is unavailable: SELECT * FROM booking_questions or SELECT * FROM event_type_custom_inputsAffected if Any booking question label contains unsanitized HTML/JavaScript such as <script>, event handlers (onclick, onerror, onload), or javascript: URIs
-
Test booking page for XSS executionCreate a test booking using an event type with booking questions; when submitting the booking form, inject a harmless test payload like <img src=x onerror=alert(1)> into a question label, then open the resulting booking URL to see if the script executesAffected if The injected payload executes as JavaScript when viewing the booking page
You are affected if Cal.com version is 4.7.15 or earlier AND booking questions are configured with field labels containing unsanitized HTML or JavaScript that could execute when the booking page is viewed.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade to Cal.com v4.7.16 or later, which includes proper input sanitization before rendering booking-question labels via dangerouslySetInnerHTML.
v4.7.16
- Backup your current Cal.com installation and database before upgrading
- Update to Cal.com v4.7.16 by pulling the latest image or cloning the updated repository
- Run any database migrations that are part of the v4.7.16 release
- Restart the Cal.com application services to apply the update
- Verify the upgrade was successful by logging in and checking the version number
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation4.0 h
- Testing3.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,408.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2024-58355 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2024-58355 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data