Sensitive Cookie Without 'HttpOnly' Flag in pkp/ojs
Reported on
Oct 7th 2021
✍️ Description
HTTPOnly attribute is not set for session cookies "OJSSID" 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.
Fixed: https://github.com/pkp/pkp-lib/issues/7373
Not necessarily a comment on this specific issue, but a heads-up that I'm going to be intentionally slow to confirm and resolve trivial reports. It looks like there's a bit of a gold rush on this platform and I don't want to encourage a flood of low-value entries.