Hello @Cachaya,
CFD trading in Malaysia is completely legal, so it is not forbidden.
The Securities Commission of Malaysia (SCM) grants Capital Market Services Licenses (CMSL) to CFD brokers who apply to it.
The SCM CMSL licenses are only granted to CFD brokers who plan to offer Local Stock CFDs, Local Commodity CFDs, Local REIT CFDs, Local ETF CFDs and International Index CFDs (such as NAS100, US30, DE40 etc.)
See revised SCM CFD guidelines for 2024 here: https://www.sc.com.my/api/documentms/download.ashx?id=df2998ba-ba87-4864-a449-b23ae25cb108
The SCM regulator in Malaysia does not grant its CFD licenses to forex brokers, so if you must trade forex you have to register with a foreign CFD provider but this means higher risk because you miss out from domestic Malaysian government protection which could come handy if the foreign CFD provider misbehaves.