OWASP / CheatSheetSeries

The OWASP Cheat Sheet Series was created to provide a concise collection of high value information on specific application security topics.
https://cheatsheetseries.owasp.org
Creative Commons Attribution Share Alike 4.0 International
27.08k stars 3.79k forks source link

Implement #1373: Document Relaxed `__Secure-` Cookie Prefix #1374

Closed ljrk0 closed 2 months ago

ljrk0 commented 2 months ago

Also clarifies what __Host- and prefixes in general intends to guard against, what kind of problems implementers may encounter and encourage usage together with SameSite.


This PR covers issue #1373.

jmanico commented 2 months ago

These changes look solid. Can you please clean up the text a little first?

ljrk0 commented 2 months ago

Hi @jmanico glad to do so! Is there anything specific I should clean up in the text?

jmanico commented 2 months ago

SameSite does more than guard against malicious actors reading cookies. Can you expand on that some? Otherwise I think this is good to go!

ljrk0 commented 2 months ago

I've changed the first sentence as suggested @jmanico and provided more context onto what SameSite guards against as well as added a link to Session Fixation (the same link is already set at a different part in the same page) to provide additional background.

If you prefer, I can also squash the changes into one of course.

mackowski commented 2 months ago

@ljrk0 I changed the status of this PR from draft to ready for review. Looks good for me, very good addition.