According to http://helpx.adobe.com/creative-suite/kb/system-requirements-cs4-point-products.html was certified for Vista, so it will probably run on Windows 8 as well. You may need to run it in Vista Compatibility mode.
I suggest you make a full backup of your XP system before attempting to install W8.