Cross-Site Request Forgery (CSRF) in forkcms/forkcms


Reported on

Sep 5th 2021

✍️ Description

Attacker is able to logout a user if a logged in user visits attacker website.

🕵️‍♂️ Proof of Concept

1.when you logged in open this POC.html in a browser can check unintentionally you logged out

 <script>history.pushState('', '', '/')</script>
   <form action="">
     <input type="submit" value="Submit request" />

💥 Impact

This vulnerability is capable of forging user to unintentional logout.

💥 Test

Tested on Edge, firefox, chrome and safari.

💥 Fix

You should set a CSRF token on such GET requests.


We have contacted a member of the forkcms team and are waiting to hear back 2 years ago
Jelmer Prins validated this vulnerability 2 years ago
Musio has been awarded the disclosure bounty
The fix bounty is now up for grabs
Jelmer Prins marked this as fixed with commit 187b2d 2 years ago
Jelmer Prins has been awarded the fix bounty
This vulnerability will not receive a CVE
to join this conversation