SSRF as in Server Side Request Forgery is a vulnerability that allows an attacker to force server interfaces into sending packets initiated by the victim server to the local interface or to another server behind the firewall. Consult Web References for more information about this problem.
The impact varies according to the affected server interface.
Your script should properly sanitize user input.
SSRF VS. BUSINESS-CRITICAL APPLICATIONS