{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "2.1.1"
              },
              {
                "last_affected": "6.2.0"
              },
              {
                "fixed": "6.2.0"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "DESCRIPTION"
            ]
          },
          "events": [
            {
              "introduced": "68ae3c48a0611e58da24d1359c5a77b614209801"
            },
            {
              "fixed": "1c193cca8682b33b9866c792186033f7ef886682"
            }
          ],
          "repo": "https://github.com/calcom/cal.diy",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57858.json"
  },
  "details": "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.",
  "id": "CVE-2026-57858",
  "modified": "2026-08-15T11:31:11.413527144Z",
  "published": "2026-08-12T12:23:08.673Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57858.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-57858"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/cal-com-cal-diy-stored-xss-via-bookingpagetagmanager-analytics-tracking-id"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/calcom/cal.com"
    },
    {
      "type": "ARTICLE",
      "url": "https://ashtonr.com/blog/cve-2026-57858/"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:L/SC:H/SI:H/SA:L",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Cal.com Cal.diy 6.2.0 Stored XSS via BookingPageTagManager Analytics Tracking ID"
}