The CSV macro needs to be fixed so that when the CSV file is associated to it it doesnot load in one horizontal line and if a excel file is associated with it, the mashup of text to junk display doesnot happen.
Issue with the CSV plugin implementation:-
1. Insert an attachment to a confluence page :

2. Select the CSV macro

3. Refer the attachment from the page (other options are also there)

4. Preview or save the page and have a check. The output is attached
5. If we repeat the same with CSV as we did with XLSX file above, we would get the entire mashed up content in a single line.
Please let me know if you have any questions.