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

[DRAFT] Fix TrustedScript security issue on custom script eval() #448

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

magiruuvelvet
Copy link

Starting today, evaluation of the custom blocking rules script stopped working for me. The exception in the console is This document requires 'TrustedScript' assignment..

This can be worked around by creating a trusted types policy. There is probably a better and more secure way to achieve this, so I'm marking this PR as draft. If I have more time available, I will look into this in more detail. For now, this small patch fixes the evaluation of custom blocking rules script.

`This document requires 'TrustedScript' assignment.`
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.

1 participant