Topic

#cors

2 essays on cors from the people writing in Remote Since Forever.

Essays
2
Contributors
1
First filed
Jul 2026
Latest
Aug 2026
Written by NH
  1. express

    Replacing a Wildcard CORS Policy: An Express Allowlist Case Study

    How we replaced a permissive Express `cors` regex with a strict allowlist — escaped-dot origin matching, `Vary: Origin` on every response, and no more CWE-942 finding on the pen-test report.

    8 min
  2. jwt

    How a JWT Audience Map Saved a CORS Mistake: A Defense-in-Depth Case Study

    On a client's API, a CORS wildcard looked like a HIGH severity finding — until we tried to actually exploit it. A second, independent JWT audience check turned a trivially exploitable bug into one that required a much harder prerequisite.

    7 min
Type to search. ↑↓ to navigate. Enter to open. Esc to close.