<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Cal.com - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/vendors/cal.com/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Thu, 23 Jul 2026 22:23:06 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/vendors/cal.com/feed.xml" rel="self" type="application/rss+xml"/><item><title>Cal.com Stored Cross-Site Scripting Vulnerability (CVE-2024-58355)</title><link>https://feed.craftedsignal.io/briefs/2026-07-cve-2024-58355-calcom-xss/</link><pubDate>Thu, 23 Jul 2026 22:23:06 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-07-cve-2024-58355-calcom-xss/</guid><description>A stored cross-site scripting (XSS) vulnerability, CVE-2024-58355, affects Cal.com (calcom/cal.diy) versions through 4.7.15, allowing an attacker to inject arbitrary HTML/JavaScript into a booking-question label that executes in a victim's browser when they view a crafted booking URL, potentially leading to session hijacking, data theft, or defacement.</description><content:encoded><![CDATA[<p>Cal.com (calcom/cal.diy) versions through 4.7.15 are affected by a stored cross-site scripting (XSS) vulnerability, tracked as CVE-2024-58355. This flaw stems from improper sanitization of user-supplied input when rendering booking-question field labels via React's <code>dangerouslySetInnerHTML</code> function within the single booking view (e.g., <code>https://app.cal.com/booking/&lt;id&gt;</code>). An attacker with the ability to create an event type can craft a malicious booking-question label containing arbitrary HTML or JavaScript. When a victim subsequently accesses the specially crafted booking URL, the embedded script executes in their browser context. This client-side code execution can lead to various malicious activities, including session hijacking, data exfiltration, or defacement of the victim's browser session. The vulnerability was discovered and subsequently patched in Cal.com version 4.7.16, making an update critical for all affected instances.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker creates a new event type within the vulnerable Cal.com application.</li>
<li>During the event type creation, the attacker embeds malicious HTML or JavaScript code into the booking-question label field.</li>
<li>The Cal.com application stores this unsanitized malicious payload in its database.</li>
<li>The attacker shares the URL to the crafted single booking view (e.g., <code>https://app.cal.com/booking/&lt;id&gt;</code>) with a target victim.</li>
<li>The victim navigates to the provided booking URL in their web browser.</li>
<li>The Cal.com application retrieves the stored, malicious booking-question label and renders it on the page using React's <code>dangerouslySetInnerHTML</code> without proper sanitization.</li>
<li>The embedded arbitrary HTML or JavaScript code executes within the victim's browser context.</li>
<li>The attacker's script performs actions such as stealing session cookies, redirecting the user, or defacing the webpage, achieving impact.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of CVE-2024-58355 allows for client-side code execution in the context of the victim's browser session. This can lead to a range of severe consequences for individual users and potentially the organization using Cal.com. Attackers can hijack user sessions, gaining unauthorized access to their Cal.com accounts or other services if single sign-on is used. Sensitive data, including personal information or meeting details, could be exfiltrated to attacker-controlled infrastructure. Additionally, the attacker could deface the web interface, perform phishing attacks, or redirect users to malicious websites, undermining user trust and the integrity of the Cal.com platform.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Patch CVE-2024-58355 immediately by upgrading all Cal.com instances to version 4.7.16 or newer.</li>
<li>Implement a Web Application Firewall (WAF) to detect and block common XSS payloads in HTTP request parameters, specifically those targeting input fields that could be rendered unsanitized, even though this is a stored XSS, WAFs can add a layer of protection during initial payload submission.</li>
<li>Review web server access logs for requests related to event creation or booking configurations (<code>/booking/&lt;id&gt;</code>) that contain unusual characters or script patterns in query strings or post bodies, indicating potential XSS payload attempts.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>xss</category><category>web-vulnerability</category><category>client-side-execution</category></item><item><title>CVE-2024-58353: Cal.com Cross-Site Scripting Vulnerability</title><link>https://feed.craftedsignal.io/briefs/2026-07-cve-2024-58353-calcom-xss/</link><pubDate>Thu, 23 Jul 2026 22:22:23 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-07-cve-2024-58353-calcom-xss/</guid><description>CVE-2024-58353 describes a cross-site scripting (XSS) vulnerability in Cal.com (repository calcom/cal.diy) versions up to and including 4.7.15, where an attacker can inject malicious HTML/JavaScript into booking question labels that is then executed via React's dangerouslySetInnerHTML when a victim visits a publicly accessible single booking view, allowing for arbitrary client-side code execution, particularly impacting self-hosted instances with open registration.</description><content:encoded><![CDATA[<p>Cal.com, specifically the <code>calcom/cal.diy</code> repository, contains a critical cross-site scripting (XSS) vulnerability, identified as CVE-2024-58353, affecting versions up to and including 4.7.15. This vulnerability allows an unauthenticated attacker to inject arbitrary HTML and JavaScript code into &quot;booking question label&quot; fields. The application then renders this unsanitized input via React's <code>dangerouslySetInnerHTML</code> on publicly accessible single booking views (e.g., <code>/booking/&lt;id&gt;</code>). When a victim user visits a malicious booking view URL, the injected script executes in their browser context. This client-side code execution can lead to session hijacking, defacement, or redirection, posing a significant risk, especially for self-hosted Cal.com instances with open registration. The issue is resolved in version 4.7.16.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker identifies a vulnerable Cal.com instance (version &lt;= 4.7.15).</li>
<li>The attacker registers or gains access to create new event types within the Cal.com instance.</li>
<li>During the creation or modification of an event type, the attacker crafts a malicious payload (e.g., <code>&lt;script&gt;alert(document.domain)&lt;/script&gt;</code> or a more sophisticated script) and inputs it into a &quot;booking question label&quot; field.</li>
<li>The Cal.com application stores this malicious content in its database without adequately sanitizing the input.</li>
<li>The attacker then obtains the URL for the publicly accessible single booking view associated with the compromised event type (e.g., <code>/booking/&lt;id&gt;</code>).</li>
<li>The attacker distributes this malicious booking view URL to a victim, typically via social engineering or a direct link.</li>
<li>When the victim visits the provided booking view URL, the Cal.com application fetches the stored malicious &quot;booking question label.&quot;</li>
<li>The application renders the page using React's <code>dangerouslySetInnerHTML</code> method, which directly embeds the unsanitized malicious HTML/JavaScript into the victim's browser, leading to client-side code execution.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of CVE-2024-58353 allows attackers to execute arbitrary HTML and JavaScript in the context of the victim's browser. The direct consequences can include session hijacking, enabling attackers to impersonate the victim, or website defacement. More advanced attacks could involve redirecting users to malicious sites, stealing sensitive data (e.g., cookies, local storage), or performing actions on behalf of the victim through their authenticated session. Self-hosted Cal.com instances with open registration are particularly vulnerable due to the ease with which attackers can create malicious event types.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Upgrade Cal.com instances to version 4.7.16 or later immediately to patch CVE-2024-58353.</li>
<li>Implement Content Security Policy (CSP) headers across all web applications to mitigate the impact of XSS vulnerabilities by restricting script sources.</li>
<li>Ensure proper input validation and output encoding are enforced for all user-supplied data in web applications, especially in fields like the &quot;booking question label&quot; mentioned in the CVE-2024-58353 description.</li>
</ul>
]]></content:encoded><category domain="severity">critical</category><category domain="type">advisory</category><category>xss</category><category>web-vulnerability</category><category>react</category><category>dangerouslySetInnerHTML</category></item><item><title>Repository Takeover Vulnerability in cal.com GitHub Actions (CVE-2024-58354)</title><link>https://feed.craftedsignal.io/briefs/2026-07-calcom-repo-takeover/</link><pubDate>Thu, 23 Jul 2026 22:20:33 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-07-calcom-repo-takeover/</guid><description>A critical repository takeover vulnerability (CVE-2024-58354) exists in the cal.com (calcom/cal.diy) GitHub Actions workflows, allowing an attacker to submit a malicious pull request that executes arbitrary commands with write permissions to the repository, leading to full compromise.</description><content:encoded><![CDATA[<p>A critical repository takeover vulnerability, identified as CVE-2024-58354, affects the cal.com (specifically the <code>calcom</code> repository, later renamed <code>cal.diy</code>) project's GitHub Actions workflows. Attackers can exploit this by submitting a specially crafted pull request. The vulnerable <code>pr.yml</code> workflow, triggered by <code>pull_request_target</code> events, inadvertently grants its default write permissions (via the GITHUB_TOKEN) to a downstream workflow, <code>check-types.yml</code>. This <code>check-types.yml</code> then utilizes a &quot;dangerous&quot; checkout action to retrieve the attacker's submitted pull request code and subsequently executes it through <code>yarn install</code> and <code>package.json</code> scripts. This execution takes place with the repository's write-scoped token, enabling the attacker to perform arbitrary actions such as pushing commits, merging or mutating pull requests, adding or deleting comments, and deleting or force-pushing branches, effectively leading to a full compromise of the main branch and its associated codebase. No patched version is currently available for this vulnerability.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker crafts a malicious pull request containing arbitrary commands within <code>package.json</code> scripts.</li>
<li>The attacker submits this pull request to the vulnerable cal.com repository.</li>
<li>The <code>pr.yml</code> GitHub Actions workflow is triggered by the <code>pull_request_target</code> event.</li>
<li>The <code>pr.yml</code> workflow, by design, passes its default repository write permissions (via <code>GITHUB_TOKEN</code>) to the <code>check-types.yml</code> workflow.</li>
<li>The <code>check-types.yml</code> workflow uses a &quot;dangerous&quot; checkout action to fetch the attacker's malicious pull request code.</li>
<li><code>check-types.yml</code> executes <code>yarn install</code> and subsequent <code>package.json</code> scripts from the attacker-controlled code.</li>
<li>The attacker's arbitrary commands are executed with the repository's write-scoped <code>GITHUB_TOKEN</code>.</li>
<li>The attacker gains full control over the repository, capable of pushing commits, merging pull requests, and manipulating branches, leading to a complete repository compromise.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>The successful exploitation of CVE-2024-58354 results in a complete repository takeover for the affected cal.com GitHub repository. Attackers can gain the ability to inject malicious code, tamper with the software supply chain, delete or alter source code, and potentially compromise the integrity of releases. This could lead to backdoored software distributed to users, data exfiltration from the repository, or disruption of development workflows. As the main branch is affected and no patch is available, the risk remains high for organizations using or contributing to the cal.com project.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Review all GitHub Actions workflows, particularly <code>pr.yml</code> and <code>check-types.yml</code>, for the use of <code>pull_request_target</code> in conjunction with write permissions and dangerous checkout actions as described in CVE-2024-58354.</li>
<li>Disable or refactor GitHub Actions workflows that use <code>pull_request_target</code> with default write permissions and perform untrusted code execution to mitigate CVE-2024-58354.</li>
<li>Implement &quot;least privilege&quot; for GitHub Actions workflows, explicitly limiting permissions for GITHUB_TOKEN rather than relying on default write permissions.</li>
<li>Audit existing GitHub Actions workflow logs for any suspicious activity or unexpected command execution that could indicate prior exploitation of CVE-2024-58354.</li>
</ul>
]]></content:encoded><category domain="severity">critical</category><category domain="type">advisory</category><category>github-actions</category><category>repository-takeover</category><category>vulnerability</category><category>cloud-security</category></item></channel></rss>