Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-52842: CWE-346: Origin Validation Error in lightpanda-io browser

0
Critical
VulnerabilityCVE-2026-52842cvecve-2026-52842cwe-346
Published: 07/15/2026 (07/15/2026, 16:18:26 UTC)
Source: CVE Database V5
Vendor/Project: lightpanda-io
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N

Affected software

GitHub Actionsmore threats →ai
lightpanda-io/browser
pkg:github/lightpanda-io/browser
Affected versions
<0.3.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/15/2026, 16:47:45 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses