CPG, yes cake does have salt in it. Sometimes things such as salt are added to cake or more desserts to enhance the flavor.
-SunnyFox57