Sensitive Cookie Without 'HttpOnly' Flag in vuestorefront/vue-storefront

Valid

Reported on

Oct 5th 2021


✍️ Description

HTTPOnly attribute is not set for session cookies "vsf-commercetools-token" in the application.

Proof of Concept

Check this for POC: Image

Impact

When a cookie doesn’t have an HttpOnly flag, it can be accessed through JavaScript, which means that an XSS could lead to cookies being stolen. These include session cookies that can make it easier to achieve account/session takeover.

We have contacted a member of the vuestorefront/vue-storefront team and are waiting to hear back a year ago
vuestorefront/vue-storefront maintainer validated this vulnerability a year ago
0x7zed has been awarded the disclosure bounty
The fix bounty is now up for grabs
vuestorefront/vue-storefront maintainer marked this as fixed with commit 307394 a year ago
The fix bounty has been dropped
This vulnerability will not receive a CVE
to join this conversation