Property
Languagesolidity
Severityhigh
CWECWE-841: Improper Enforcement of Behavioral Workflow
Confidence LevelHigh
Impact LevelHigh
Likelihood LevelLow

Description#

The onERC721Received() callback in your ERC721 contract is vulnerable to reentrancy if external calls are made before internal state updates. This allows attackers to exploit the contract by recursively calling functions before changes are finalized.

Impact#

If exploited, an attacker could mint or transfer more NFTs than intended, bypass ownership or minting limits, and potentially drain assets or disrupt contract logic. This can lead to significant financial loss and undermine the integrity of your NFT platform.