{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "1.15.2"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "4d2e60f4f975c39675642dfaa289332c6c04dc56"
            }
          ],
          "repo": "https://github.com/clevertap/clevertap-web-sdk",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "CleverTap Web SDK version 1.15.2 and earlier is vulnerable to Cross-Site Scripting (XSS) via window.postMessage. The handleCustomHtmlPreviewPostMessageEvent function in src/util/campaignRender/nativeDisplay.js performs insufficient origin validation using the includes() method, which can be bypassed by an attacker using a subdomain",
  "id": "CVE-2026-26861",
  "modified": "2026-03-10T21:46:48.873017037Z",
  "published": "2026-02-27T18:16:12.043Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/CleverTap/clevertap-web-sdk/blob/cf1b65d/src/util/campaignRender/nativeDisplay.js#L118-L121"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/CleverTap/clevertap-web-sdk/issues/424"
    },
    {
      "type": "FIX",
      "url": "https://github.com/CleverTap/clevertap-web-sdk/pull/417"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L",
      "type": "CVSS_V3"
    }
  ]
}