Re:Developers don't understand CORS
by aaronharnly on Wednesday July 10, 2019 @05:28PM
(#20406757)
Variant of #1 that I've seen not infrequently:
They set it to check a regex for `bank.com` to also allow `subdomain.bank.com`, but inadvertently also allow `bank.com.evil.com`, `evilbank.com`, or similar.
They set it to check a regex for `bank.com` to also allow `subdomain.bank.com`, but inadvertently also allow `bank.com.evil.com`, `evilbank.com`, or similar.