Tag leakage: trackers, pixels and session replay keep sending data to third parties after consent banners are rejected
This is an explanatory and advisory piece, not a report on a single incident. It argues that a consent banner is a preference record and not a security control. Pixels, hardcoded tags, tag manager misconfigurations, pre-consent race conditions, beacons, CNAME cloaking, server-side tagging and session replay scripts can all keep transmitting data to third parties after a visitor rejects tracking. The article ties this to the OWASP Top 10 Client-Side Security Risks category "Sensitive Data Leakage". It also cites enforcement and litigation: CIPA claims, CPPA fines against Todd Snyder and Tractor Supply, CNIL's EUR 150 million fine on SHEIN, and FTC actions against GoodRx and BetterHelp. It states that California SB 690 removes the private right of action for Section 638.51 claims from 2027 and that AB 566 requires browser opt-out signals in 2027. The piece also promotes Captain Compliance and Ketch products. Its legal and product claims come from the article alone and were not independently verified.
Detalhes técnicos
- Leak paths named: hardcoded tags outside the CMP, tag manager tags with no consent condition, a CMP that loads after tags fire, sendBeacon/keepalive fetch/1x1 image beacons, PII in URLs, CNAME-cloaked first-party subdomains, server-side tagging and chained fourth-party scripts.
- Session replay scripts capture typed form input before submission. Masking is configuration and drifts over time.
Remediação
- Test each consent state (no interaction, reject, GPC) with Playwright or DevTools. Resolve unusual subdomains with dig to catch CNAME cloaking.
- Run a report-only CSP for about a week to inventory every origin the pages contact.
- Block non-essential scripts before transmission, set a default "denied" consent state early (Google Consent Mode v2), honor GPC (Sec-GPC: 1), and review replay masking rules.
- Treat vendor scanner claims as claims to verify with a staging proof of concept.
Linha do tempo
-
Tag leakage: trackers, pixels and session replay keep sending data to third parties after consent banners are rejected
ler a análise desta fonte ocultar
This is an explanatory and advisory piece, not a report on a single incident. It argues that a consent banner is a preference record and not a security control. Pixels, hardcoded tags, tag manager misconfigurations, pre-consent race conditions, beacons, CNAME cloaking, server-side tagging and session replay scripts can all keep transmitting data to third parties after a visitor rejects tracking. The article ties this to the OWASP Top 10 Client-Side Security Risks category "Sensitive Data Leakage". It also cites enforcement and litigation: CIPA claims, CPPA fines against Todd Snyder and Tractor Supply, CNIL's EUR 150 million fine on SHEIN, and FTC actions against GoodRx and BetterHelp. It states that California SB 690 removes the private right of action for Section 638.51 claims from 2027 and that AB 566 requires browser opt-out signals in 2027. The piece also promotes Captain Compliance and Ketch products. Its legal and product claims come from the article alone and were not independently verified.
Technical Details
- Leak paths named: hardcoded tags outside the CMP, tag manager tags with no consent condition, a CMP that loads after tags fire, sendBeacon/keepalive fetch/1x1 image beacons, PII in URLs, CNAME-cloaked first-party subdomains, server-side tagging and chained fourth-party scripts.
- Session replay scripts capture typed form input before submission. Masking is configuration and drifts over time.
Remediation
- Test each consent state (no interaction, reject, GPC) with Playwright or DevTools. Resolve unusual subdomains with dig to catch CNAME cloaking.
- Run a report-only CSP for about a week to inventory every origin the pages contact.
- Block non-essential scripts before transmission, set a default "denied" consent state early (Google Consent Mode v2), honor GPC (Sec-GPC: 1), and review replay masking rules.
- Treat vendor scanner claims as claims to verify with a staging proof of concept.