Skip to content
This repository was archived by the owner on Nov 7, 2025. It is now read-only.
This repository was archived by the owner on Nov 7, 2025. It is now read-only.

Identity sharding and URL parameter tracking #12

@ehsan

Description

@ehsan

Let's consider the following attack scenario:

  • The user goes to site.example and login using a third-party login.adtech.example frame.
  • site.example has a first-party script from analytics.adtech.example/analytics.js.
  • After the successful login, login.adtech.example frame does a parent.postMessage() to communicate the user's PII to a message handler set up by analytics.js.
  • The said message handler runs the loop in [1].
  • The user clicks a link to news.example which also has analytics.adtech.example/analytics.js embedded.
  • analytics.js looks at location.search to obtain the user's PII.
  • Now the user's identity has been joined across sites.

[1] pseudo-code

  for (each link in document) {
    link.href = injectPII(link.href);
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions