Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: apply csp correctly when contextIsolation: false #37756

Merged
merged 2 commits into from Apr 4, 2023
Merged

fix: apply csp correctly when contextIsolation: false #37756

merged 2 commits into from Apr 4, 2023

Conversation

nornagon
Copy link
Member

@nornagon nornagon commented Mar 29, 2023

Description of Change

When sandbox: false and contextIsolation: false, CSP wasn't being correctly
enforced.

Checklist

Release Notes

Notes: Security: Fixed an issue with Content-Security-Policy not being correctly enforced when sandbox: false and contextIsolation: false. (CVE-2023-23623)

@nornagon nornagon added security 🔒 target/22-x-y PR should also be added to the "22-x-y" branch. target/23-x-y PR should also be added to the "23-x-y" branch. target/24-x-y PR should also be added to the "24-x-y" branch. labels Mar 29, 2023
@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Mar 29, 2023
@nornagon nornagon added the semver/patch backwards-compatible bug fixes label Mar 29, 2023
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Mar 30, 2023
@zcbenz zcbenz merged commit e9d5c35 into main Apr 4, 2023
13 checks passed
@zcbenz zcbenz deleted the fix-csp branch April 4, 2023 08:31
@release-clerk
Copy link

release-clerk bot commented Apr 4, 2023

Release Notes Persisted

Security: Fixed an issue with Content-Security-Policy not being correctly enforced when sandbox: false and contextIsolation: false. (CVE-2023-23623)

@trop
Copy link
Contributor

trop bot commented Apr 4, 2023

I was unable to backport this PR to "22-x-y" cleanly;
you will need to perform this backport manually.

@trop trop bot added needs-manual-bp/22-x-y and removed target/22-x-y PR should also be added to the "22-x-y" branch. labels Apr 4, 2023
@trop
Copy link
Contributor

trop bot commented Apr 4, 2023

I was unable to backport this PR to "23-x-y" cleanly;
you will need to perform this backport manually.

@trop
Copy link
Contributor

trop bot commented Apr 4, 2023

I was unable to backport this PR to "24-x-y" cleanly;
you will need to perform this backport manually.

@trop trop bot added needs-manual-bp/23-x-y needs-manual-bp/24-x-y and removed target/23-x-y PR should also be added to the "23-x-y" branch. target/24-x-y PR should also be added to the "24-x-y" branch. labels Apr 4, 2023
@trop
Copy link
Contributor

trop bot commented Apr 5, 2023

@nornagon has manually backported this PR to "24-x-y", please check out #37839

@trop trop bot added in-flight/24-x-y merged/24-x-y PR was merged to the "24-x-y" branch and removed needs-manual-bp/24-x-y in-flight/24-x-y labels Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged/22-x-y PR was merged to the "22-x-y" branch. merged/23-x-y PR was merged to the "23-x-y" branch. merged/24-x-y PR was merged to the "24-x-y" branch security 🔒 semver/patch backwards-compatible bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants