Lightpanda:URL parser misidentifies page origin for URLs containing @ in the path - Same-Origin Policy bypass
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-52842
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 04:30 UTC · Revision 1
Source evidence
Lightpanda:URL parser misidentifies page origin for URLs containing @ in the path - Same-Origin Policy bypass
core-osv · Original sourcePublished 15 Jul 2026, 16:18 UTC
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.
osv:CVE-2026-52842
Complete source record
{
"id": "50d689ee1a53e4028126f8e53c7e99e4a38025b393a34565821aeb5783374df8",
"url": "https://osv.dev/vulnerability/CVE-2026-52842",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Lightpanda:URL parser misidentifies page origin for URLs containing @ in the path - Same-Origin Policy bypass",
"summary": "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.",
"evidence": "osv:CVE-2026-52842",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2026-52842",
"aliases": [
"CVE-2026-52842",
"GHSA-mq6p-m9cc-q432"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/lightpanda-io/browser",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "85d84c296ed592a0a924c8dee3426dbf7881b560"
},
{
"fixed": "0588cc374d4af9687cf6f45a7d52f7af04bbacfb"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "0.3.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "0588cc374d4af9687cf6f45a7d52f7af04bbacfb"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "85d84c296ed592a0a924c8dee3426dbf7881b560"
}
],
"source": "REFERENCES_TAG",
"original_tag": "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"
}
}
],
"modified": "2026-10-28T02:30:49.708361840Z",
"provider": "osv",
"references": [
"https://github.com/lightpanda-io/browser/releases/tag/0.3.1",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52842.json",
"https://github.com/lightpanda-io/browser/security/advisories/GHSA-mq6p-m9cc-q432",
"https://nvd.nist.gov/vuln/detail/CVE-2026-52842",
"https://github.com/lightpanda-io/browser/commit/0588cc374d4af9687cf6f45a7d52f7af04bbacfb",
"https://github.com/lightpanda-io/browser/pull/1998"
],
"provider_metadata": {
"cwe_ids": [
"CWE-346"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52842.json"
}
},
"related_cves": [
{
"value": "CVE-2026-52842",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 518141,
"published_at": "2026-07-15T16:18:26.157+00:00"
}