United Airlines VDP — cross-origin postMessage PoC
This page demonstrates a missing event.origin check on the payment page of www.united.com. It only affects the checkout window you open from this page, using your own session. It does not collect, store, or transmit any data.
- Use it only on your own United cart / reservation, in a browser where pop-ups are allowed.
- It never submits a payment. It only posts a message to the checkout window you open.
- Cross-origin pages cannot read each other's DOM, so this page cannot verify the result. You verify it visually in the opened checkout window.
Step 1 — Create a real cart and copy the checkout URL
- In your own browser, open United → Manage my trips → your trip → Bags prepaid.
- Select 1 checked bag and click Continue to checkout.
- The URL will look like:
https://www.united.com/en/us/ancillary/checkout/<CART_ID> - Copy that full URL (or just the cart ID) and paste it below.
Step 2 — Look at the opened checkout window
If the message was accepted, the Billing information fields will contain the PoC values:
- Address line 1:
POC-ADDRESS-1 - City:
POC-CITY· State:NY· ZIP:10001 - Phone:
5550100000 - Email:
poc@example.invalid— the field's own helper text says it is used for “eTickets, receipts, and confirmation regarding this purchase only.”
The page re-sends the message every second for 60 seconds, because the checkout reloads during some payment flows and the message must land while the payment form is mounted. Use Stop to end it and close the window.
Step 3 — Negative control (differential)
- Close the injected checkout and open a fresh checkout URL (same cart is fine).
- Click Negative control — status 401.
- The same data is sent but with
status: 401. The fields must stay unchanged/empty. That differential is what proves the 200 path is the defect, not a normal behaviour.
Payload sent (transparent)
Show JSON
{
"paypalInfo": {
"status": 200,
"Data": {
"BillingAddress": {
"AddressLines": ["POC-ADDRESS-1"],
"City": "POC-CITY",
"StateProvince": { "ShortName": "NY" },
"PostalCode": "10001",
"Characteristic": [{ "Value": "5550100000" }]
},
"Payor": { "Contact": { "Emails": [{ "Address": "poc@example.invalid" }] } }
}
},
"paypalReturn": { "PayerID": "POC-PAYER", "token": "POC-TOKEN" }
}
Why this is a real defect
The receiver is handlePostMessage in the payment component. It checks only event.data.paypalInfo.status === 200 (no event.origin) and then writes attacker-supplied billing address / phone / email into the checkout form, marking the fields valid. With an active cart, the purchase request (POST /api/Payment/CompletePurchase) then carries the attacker's EmailId and PhoneNumber — and that email is documented by United as the destination for eTickets, receipts and the confirmation.
No payment is submitted by this page. No data is sent anywhere. The cart ID is only used to open your own checkout window.
Reported under the United Airlines VDP (Bugcrowd). PoC prepared 2026-12-04.