-
Notifications
You must be signed in to change notification settings - Fork 102
Closed
Labels
bugSomething isn't workingSomething isn't workingfixedissue has been addressedissue has been addressed
Description
Prerequisites
- I verified that this is not a filter issue (MUST be reported at filter issue tracker)
- This is not a support issue or a question
- I performed a cursory search of the issue tracker to avoid opening a duplicate issue
- The issue is not present after wholly disabling uBlock Origin ("uBO") in the browser
- I checked the documentation to understand that the issue I report is not a normal behavior
I tried to reproduce the issue when...
- uBO is the only extension
- uBO with default lists/settings
- using a new, unmodified browser profile
Description
It's possible to create background requests using the image-set() CSS function on Firefox. uBlock prevents requests using url() but does not for image-set().
*#$#* { font-family: 'blah'; background:image-set('https://hackvertor.co.uk/images/logo.gif' 1x) }
A specific URL where the issue occurs
Steps to Reproduce
- Open Firefox and add the following rule to "My filters":
*#$#* { font-family: 'blah'; background:image-set('https://hackvertor.co.uk/images/logo.gif' 1x) }
- Visit https://portswigger-labs.net/ notice the background image has been added to everything.
Expected behavior
image-set() should be blocked like url()
Actual behavior
image-set() is not blocked and a background request is made
uBlock Origin version
1.38.7b19
Browser name and version
Firefox 94.0.1
Operating System and version
MacOS 10.15.7
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingfixedissue has been addressedissue has been addressed