CVE-2026-52842

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

State
Published
Severity
9.3 Critical
Published
Jul 15, 2026
Updated
Jul 15, 2026
Reserved
Jun 8, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.19.3 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:NGitHub_M

Weaknesses

Affected Products

ProductVersions
browserlightpanda-io
  • < 0.3.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.