CosmWasm aims to address many of the security issues present in Ethereum/Solidity.
It does this by preventing reentrancy attacks, a common exploit in the DeFi world. It also provides a more streamlined experience for migrating contracts, as opposed to using a “proxy contract” pattern. And it removes many language elements which tended to be misused (like tx.origin for security).
Overall, CosmWasm provides a highly secure foundation for smart contracts on the Cosmos ecosystem by preventing the most common classes of attacks found in Solidity.