Skip to content
This repository was archived by the owner on Jul 21, 2021. It is now read-only.
This repository was archived by the owner on Jul 21, 2021. It is now read-only.

Blocked cookies are leaked to sites when viewing page source #957

@user234683

Description

@user234683

When cookies are blocked for a site, if you right click and view page source, the site is not blocked from reading your cookies during the request that's made.

Browser: Firefox 58.01 64-bit, also tested on Waterfox 56.0.4.1 64-bit
uMatrix Version: 1.3.2

Steps to reproduce:

  1. Have a cookie in your browser that keeps you logged into github
  2. Block cookies for github
  3. Go to github.com
  4. The page should not have any indication of being logged in or what your username is, as expected.
  5. Right click and view source
  6. Do a ctrl+f search for your github username in the source code
  7. Observe that this source code is the source code for a logged-in page, and contains your username
    Optional: Delete the cookies for github. Go to github.com and view page source. Do a ctrl+f for your username, observe that it is not found.
    Optional: In the view-source page, open the network tab in the inspector and reload in order to gather the request activity. Observe in the request header that cookies are sent.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions