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

Content picker security: a compromised renderer can add a rule for another host #40994

Closed
atuchin-m opened this issue Sep 11, 2024 · 2 comments
Closed

Comments

@atuchin-m
Copy link
Contributor

Description

Open devtools and call this in release/beta Brave (without the recent changes) for Brave Extension context:

  chrome.runtime.sendMessage({
        type: 'cosmeticFilterCreate',
        selector: '.fake\ngoogle.com##div'
      })

It actually adds 2 rules instead of one.

image

@atuchin-m
Copy link
Contributor Author

cc @antonok-edm

@atuchin-m
Copy link
Contributor Author

the issue is resolved by brave/brave-core@c7c0f9c#r1752318532

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants