CVE-2026-52842: CWE-346: Origin Validation Error in lightpanda-io browser
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.
AI Analysis
Technical Summary
CVE-2026-52842 is an origin validation error (CWE-346) in the Lightpanda headless browser before version 0.3.1. The browser incorrectly searches for the '@' character across the entire URL string rather than restricting this search to the authority component when computing the page origin. This parsing error allows an attacker-controlled URL such as 'http://attacker.com/@victim.com/' to be fetched from attacker.com but treated as if it originated from victim.com, resulting in a complete bypass of the Same-Origin Policy. This vulnerability has a CVSS 3.1 score of 9.3, indicating critical severity. The issue is resolved in Lightpanda version 0.3.1.
Potential Impact
This vulnerability allows an attacker to bypass the Same-Origin Policy, potentially enabling unauthorized access to sensitive data or actions within the context of victim.com when using vulnerable versions of Lightpanda. The bypass undermines a fundamental browser security mechanism, leading to high confidentiality and integrity impacts. Availability is not affected.
Mitigation Recommendations
Upgrade Lightpanda to version 0.3.1 or later, where this origin validation issue is fixed. Since the vulnerability is resolved in 0.3.1, applying this official fix fully mitigates the risk.
CVE-2026-52842: CWE-346: Origin Validation Error in lightpanda-io browser
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.
CVSS v3.1
Score 9.3critical
Affected software
pkg:github/lightpanda-io/browserRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-52842 is an origin validation error (CWE-346) in the Lightpanda headless browser before version 0.3.1. The browser incorrectly searches for the '@' character across the entire URL string rather than restricting this search to the authority component when computing the page origin. This parsing error allows an attacker-controlled URL such as 'http://attacker.com/@victim.com/' to be fetched from attacker.com but treated as if it originated from victim.com, resulting in a complete bypass of the Same-Origin Policy. This vulnerability has a CVSS 3.1 score of 9.3, indicating critical severity. The issue is resolved in Lightpanda version 0.3.1.
Potential Impact
This vulnerability allows an attacker to bypass the Same-Origin Policy, potentially enabling unauthorized access to sensitive data or actions within the context of victim.com when using vulnerable versions of Lightpanda. The bypass undermines a fundamental browser security mechanism, leading to high confidentiality and integrity impacts. Availability is not affected.
Mitigation Recommendations
Upgrade Lightpanda to version 0.3.1 or later, where this origin validation issue is fixed. Since the vulnerability is resolved in 0.3.1, applying this official fix fully mitigates the risk.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-08T18:41:27.724Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a57b64268715ace430b3851
Added to database: 07/15/2026, 16:33:06 UTC
Last enriched: 07/15/2026, 16:47:45 UTC
Last updated: 07/15/2026, 17:03:19 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.