Alfresco share is collaboration platform built using spring surf on top of Alfresco repository. For communication with Alfresco repository it use datawebscripts. So, all those artifacts of repository needs to be exposed as a webscript to make it consumable by Alfresco share.
Now it could create security concern because as all of your contents and other information is exposed as webscripts it create high security concern because any intruder could manipulate data which is stored in repository using few tricks. Alfresco has introced CSRF filter to prevent that. Learn More