Skip to content

RFC 6265bis: possibility of taking the port into account for "schemeful-cookies" (aka same-origin cookies) #1526

Open
@randomstuff

Description

@randomstuff

Would it make sense/be possible to take the port into account as well for "schemeful-cookies" (making them same-origin cookies)?

For http: localhost-bound applications, the ability to scope the cookies per origin would be useful. Without this, the cookies of a http://127.0.0.1:4567 application can be exfiltrated by other local users by:

  • spawning another localhost HTTP service such as http://127.0.0.1:4568;
  • triggering a request to this page from the user.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions