by justinholmes · 6y ago · 0 comments
If this were true 1000s of large companies would not be PCI compliant.
The purpose of PCI compliance is to protect the number/info, so how would Stripe (and similar) get approved if they're creating a payment widget that allows third parties to snoop card numbers?
Is this a PCI loophole, or is there some technical barrier preventing the third-party site from getting access?
Maybe there should be? If it's important to know what site you're looking at in a top level page, the same thing should apply to an embedded one.
Often when I learn about web security, it seems like the user agent abdicates responsibility to be an agent for the user.
Probably a case where it's more obvious in hindsight why this is important, but it could still be retrofitted. Maybe there's a better way, but for example, a browser could make the address bar a breadcrumb widget using multiple URLs to depict the iframe nesting.