Partly true, but misleading.
There is evidence that cannabis use can increase the risk of heart attacks and strokes, especially for frequent users. Several large studies have found a connection between marijuana use and higher cardiovascular risks. However, the claim that cannabis raises those risks more than cocaine is not strongly supported by the available research. Some studies actually suggest cocaine is associated with a higher risk of stroke and other serious cardiovascular problems. Overall, the claim is based on some real health concerns, but the comparison to cocaine exaggerates what the research currently shows.