Skip to main content
ArcBlock Community

CSRF Token Mismatch During Purchase

JM โ€œcryptotestnetโ€ Morales
Support
nft-studiobugbug-bountyqualifiedrewardedsecurityux

๐ŸŒ Affected Application: ArcBlock Marketplace ๐Ÿ“ URL: https://marketplace.arcblock.io/auctions

๐Ÿ“‚ Module: Auction โ†’ Purchase Function

๐Ÿงพ Summary: When attempting to purchase an item from the auction section, the transaction fails to process and displays an error message:

โ€œinvalid request: csrf token mismatchโ€

This prevents users from completing purchases successfully.

๐Ÿงช Steps to Reproduce:

  1. Go to https://marketplace.arcblock.io/auctions.
  2. Select any auction item available for purchase.
  3. Click the โ€œPurchaseโ€ button.
  4. Wait for the transaction to process.

๐Ÿ’ฅ Actual Result:

  • Transaction fails to process.
  • Error message appears: โ€œinvalid request: csrf token mismatch.โ€

โœ… Expected Result:

  • The purchase should process successfully and confirm the transaction without showing any CSRF-related error.

โš™๏ธ Possible Cause:

  • CSRF token not refreshed or expired session token before transaction submission.
  • Possible frontend-backend desynchronization of authentication headers during auction actions.

๐Ÿ“‚ Category: Security / Transaction Handling ๐Ÿงฑ Severity: ๐Ÿ”ด High ๐ŸŽฏ Priority: Critical (Blocks purchase functionality and affects core marketplace operations)

2 replies

JianChao11 months ago

Hello, please log out and then log back in to try again.

JM โ€œcryptotestnetโ€ Morales11 months ago

I tried still can't purchase

Reply