Skip to content

Fix vulnerability in chromium bug workaround#99

Merged
weizman merged 3 commits intomainfrom
fix-issue-98
Jun 18, 2023
Merged

Fix vulnerability in chromium bug workaround#99
weizman merged 3 commits intomainfrom
fix-issue-98

Conversation

@weizman
Copy link
Copy Markdown
Member

@weizman weizman commented Jun 18, 2023

fixes #98 - instead of working around chromium bug by accessing the object's contentWindow prop, we call getOwnPropDesc on it, because while it gets the same effect, it cannot be trapped by an attacker.

@weizman weizman merged commit 1ece565 into main Jun 18, 2023
@weizman weizman deleted the fix-issue-98 branch June 18, 2023 12:18
@weizman weizman mentioned this pull request Jul 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bypass using by making contentWindow to throw an exception

1 participant