Skip to content

In-depth lesson · postMessage abuse

Year by year

What the disclosed postMessage abuse reports of each year show, newest first: what first appeared, what kept working and what turned up less.

Back to the lesson 1 to 50 of 77

2024

11 points

New this year3

  1. Chained bugs with CSP bypass or DOM clobbering first appear clearly in the disclosed reports this year.

    Seen in 3 reports
  2. Abusing a DOM clobbering gadget via postMessage is first documented in the reports.

    Seen in 1 report
  3. Reading an OAuth access token from an office productivity app via postMessage is first shown in the reports.

    Seen in 1 report

Kept working5

  1. Hunters found that message handlers in chat and collaboration apps could be abused to read session tokens, as shown in the reports.

    Seen in 1 report
  2. A message handler in a code editor allowed reading a session token, according to the reports.

    Seen in 1 report
  3. A message handler in a CMS admin panel allowed reading a session token, as reported.

    Seen in 1 report
  4. A message handler in a search engine page allowed reading a session token, the reports show.

    Seen in 1 report
  5. A message handler in a sandboxed document allowed reading a session token, as demonstrated.

    Seen in 1 report

Turned up less3

  1. The review widget token leak from 2023 does not appear in the 2024 reports.

    Seen in 1 report
  2. The WordPress embed token leak from 2023 is not repeated in the 2024 reports.

    Seen in 1 report
  3. The Azure embedded iframe token leak from 2023 is not seen in the 2024 reports.

    Seen in 1 report

2023

12 points

New this year3

  1. Widgets and embedded iframes first feature prominently as targets in the disclosed reports this year.

    Seen in 2 reports
  2. Abusing cloud productivity apps via postMessage first appears clearly in the reports.

    Seen in 1 report
  3. Injecting CSS through a message handler to capture input is first documented in the reports.

    Seen in 1 report

Kept working6

  1. Hunters found that message handlers in cloud notebooks and cloud consoles could be abused to read session tokens, as shown in the reports.

    Seen in 1 report
  2. A message handler in a review widget allowed reading a session token, according to the reports.

    Seen in 1 report
  3. A message handler in a WordPress embed allowed reading a session token, as reported.

    Seen in 1 report
  4. A message handler in an Azure embedded iframe allowed reading a session token, the reports show.

    Seen in 1 report
  5. A message handler in a GitLab Live Preview sandbox allowed reading files from a private repository, according to the reports.

    Seen in 1 report
  6. A message handler allowed injecting CSS to capture input on a credit card form, as demonstrated.

    Seen in 1 report

Turned up less3

  1. The payment page token leak from 2022 does not appear in the 2023 reports.

    Seen in 1 report
  2. The PDF viewer token leak from 2022 is not repeated in the 2023 reports.

    Seen in 1 report
  3. The announcement widget token leak from 2022 is not seen in the 2023 reports.

    Seen in 1 report

2022

12 points

New this year3

  1. Abusing notebooks and code editors via postMessage first appears clearly in the disclosed reports this year.

    Seen in 1 report
  2. Sandboxed documents and iframes first feature as targets in the reports.

    Seen in 1 report
  3. Reading or writing cookies through a message handler on a checkout page is first documented in the reports.

    Seen in 1 report

Kept working6

  1. Hunters found that message handlers on payment pages could be abused to read session tokens, as shown in the reports.

    Seen in 1 report
  2. A message handler in a browser extension allowed reading a session token, according to the reports.

    Seen in 1 report
  3. A message handler on a checkout page allowed reading or writing cookies, as reported.

    Seen in 1 report
  4. A message handler in a notebook renderer allowed leaking the current user directory path, the reports show.

    Seen in 1 report
  5. A message handler in a PDF viewer allowed reading a session token, according to the reports.

    Seen in 1 report
  6. A message handler in an announcement widget allowed reading a session token, as demonstrated.

    Seen in 1 report

Turned up less3

  1. The referrer-based origin bypass from 2021 does not appear in the 2022 reports.

    Seen in 1 report
  2. The single sign-on flow token leak from 2021 is not repeated in the 2022 reports.

    Seen in 1 report
  3. The presentation site token leak from 2021 is not seen in the 2022 reports.

    Seen in 1 report

2021

10 points

New this year2

  1. Chat and collaboration apps first feature prominently as targets in the reports.

    Seen in 1 report
  2. Bypassing origin checks by comparing the message origin to the referrer is first documented in the reports.

    Seen in 1 report

Kept working5

  1. A message handler in a chat or collaboration app allowed reading a session token, according to the reports.

    Seen in 1 report
  2. A message handler on a presentation site allowed reading a session token, as reported.

    Seen in 1 report
  3. A message handler in a single sign-on flow allowed reading a session token, the reports show.

    Seen in 1 report
  4. Opening the target page from an attacker window made the referrer match the message origin, bypassing the check, according to the reports.

    Seen in 1 report
  5. A route action with model data containing HTML rendered as script, as demonstrated.

    Seen in 1 report

Turned up less3

  1. The Shopify admin and checkout handler abuses from 2019 and 2020 are less prominent in the 2021 reports.

    Seen in 4 reports
  2. The wildcard target origin OAuth leak from 2020 does not appear in the 2021 reports.

    Seen in 1 report
  3. The regex wildcard origin bypass from 2020 is not repeated in the 2021 reports.

    Seen in 1 report

2020

5 points

New this year4

  1. OAuth token leaks via postMessage first appear in the disclosed reports this year.

    Seen in 1 report
  2. Abusing a wildcard target origin to receive tokens is first documented in the reports.

    Seen in 1 report
  3. Bypassing origin checks by treating dots as regex wildcards is first shown in the reports.

    Seen in 1 report
  4. Invoking arbitrary methods by name through a message handler is first seen in the reports.

    Seen in 1 report

Kept working1

  1. Hunters found that message handlers on Shopify admin pages could be abused to read session tokens or CSRF tokens, as shown in the reports.

    Seen in 2 reports