Skip to content

Security: window.open on Server-Provided URL Missing noopener Flag #169

@rishab11250

Description

@rishab11250

Summary

window.open(data.pr_url, '_blank') is called without noopener,noreferrer. The opened page can access window.opener and redirect the parent origin.

Location

ui/app.js — executePR(), line ~1829

Risk

Reverse tabnapping. Server-controlled URL with no origin restriction on the opener reference.

Proposed Fix

window.open(data.pr_url, '_blank', 'noopener,noreferrer');

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions