{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "0.3.1"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0588cc374d4af9687cf6f45a7d52f7af04bbacfb"
            },
            {
              "fixed": "85d84c296ed592a0a924c8dee3426dbf7881b560"
            }
          ],
          "repo": "https://github.com/lightpanda-io/browser",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-mq6p-m9cc-q432"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-346"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52842.json"
  },
  "details": "Lightpanda is a headless browser designed for AI and automation. Prior to 0.3.1, Lightpanda searched for @ across the entire URL string instead of only the authority component when computing a page origin, so a URL such as `http://attacker.com/@victim.com/` was fetched from attacker.com but treated as `http://victim.com`, allowing a complete Same-Origin Policy bypass. This issue is fixed in version 0.3.1.",
  "id": "CVE-2026-52842",
  "modified": "2026-07-17T03:41:40.204917947Z",
  "published": "2026-07-15T16:18:26.157Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/lightpanda-io/browser/releases/tag/0.3.1"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52842.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/lightpanda-io/browser/security/advisories/GHSA-mq6p-m9cc-q432"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-52842"
    },
    {
      "type": "FIX",
      "url": "https://github.com/lightpanda-io/browser/commit/0588cc374d4af9687cf6f45a7d52f7af04bbacfb"
    },
    {
      "type": "FIX",
      "url": "https://github.com/lightpanda-io/browser/pull/1998"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Lightpanda:URL parser misidentifies page origin for URLs containing @ in the path - Same-Origin Policy bypass"
}