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


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


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 2 months ago
vuestorefront/vue-storefront maintainer validated this vulnerability a month ago
0x7zed has been awarded the disclosure bounty
The fix bounty is now up for grabs
vuestorefront/vue-storefront maintainer confirmed that a fix has been merged on 307394 a month ago
The fix bounty has been dropped