{"id":"CVE-2026-52842","summary":"Lightpanda:URL parser misidentifies page origin for URLs containing @ in the path - Same-Origin Policy bypass","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.","aliases":["GHSA-mq6p-m9cc-q432"],"modified":"2026-07-17T03:47:28.023523042Z","published":"2026-07-15T16:18:26.157Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52842.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-346"]},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/lightpanda-io/browser","events":[{"introduced":"0"},{"fixed":"0588cc374d4af9687cf6f45a7d52f7af04bbacfb"},{"fixed":"85d84c296ed592a0a924c8dee3426dbf7881b560"}],"database_specific":{"source":["AFFECTED_FIELD","REFERENCES"],"extracted_events":[{"introduced":"0"},{"fixed":"0.3.1"}]}}],"versions":["0.3.0","0.2.9","0.2.8","0.2.7","v0.2.6","v0.2.5","v0.2.4","v0.2.3","v0.2.2","v0.2.1","v0.2.0","beta","nightly","alpha"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-52842.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N"}]}